1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2024-12-24 13:14:26 +00:00
action-ansible-playbook/node_modules/yaml/dist/stringify/stringify.d.ts

21 lines
847 B
TypeScript
Raw Normal View History

2022-10-21 14:44:44 +00:00
import type { Document } from '../doc/Document.js';
import type { Alias } from '../nodes/Alias.js';
import type { ToStringOptions } from '../options.js';
export declare type StringifyContext = {
actualString?: boolean;
allNullValues?: boolean;
anchors: Set<string>;
doc: Document;
forceBlockIndent?: boolean;
implicitKey?: boolean;
indent: string;
indentStep: string;
indentAtStart?: number;
inFlow: boolean | null;
inStringifyKey?: boolean;
options: Readonly<Required<Omit<ToStringOptions, 'collectionStyle' | 'indent'>>>;
resolvedAliases?: Set<Alias>;
};
export declare function createStringifyContext(doc: Document, options: ToStringOptions): StringifyContext;
export declare function stringify(item: unknown, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string;