1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2024-11-23 09:17:19 +00:00
action-ansible-playbook/node_modules/yaml/dist/compose/compose-doc.d.ts

8 lines
641 B
TypeScript
Raw Permalink Normal View History

2022-10-21 14:44:44 +00:00
import type { Directives } from '../doc/directives.js';
import { Document } from '../doc/Document.js';
2024-01-17 09:08:10 +00:00
import type { ParsedNode } from '../nodes/Node.js';
2022-10-21 14:44:44 +00:00
import type { DocumentOptions, ParseOptions, SchemaOptions } from '../options.js';
import type * as CST from '../parse/cst.js';
import type { ComposeErrorHandler } from './composer.js';
2024-01-17 09:08:10 +00:00
export declare function composeDoc<Contents extends ParsedNode = ParsedNode, Strict extends boolean = true>(options: ParseOptions & DocumentOptions & SchemaOptions, directives: Directives, { offset, start, value, end }: CST.Document, onError: ComposeErrorHandler): Document.Parsed<Contents, Strict>;