source: node_modules/yaml/dist/compose/compose-doc.d.ts

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 641 bytes
Line 
1import type { Directives } from '../doc/directives.js';
2import { Document } from '../doc/Document.js';
3import type { ParsedNode } from '../nodes/Node.js';
4import type { DocumentOptions, ParseOptions, SchemaOptions } from '../options.js';
5import type * as CST from '../parse/cst.js';
6import type { ComposeErrorHandler } from './composer.js';
7export 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>;
Note: See TracBrowser for help on using the repository browser.