mirror of
https://github.com/deployphp/action.git
synced 2024-11-23 12:29:03 +00:00
11 lines
736 B
TypeScript
11 lines
736 B
TypeScript
|
import type { CreateNodeContext } from '../../doc/createNode.js';
|
||
|
import { ParsedNode } from '../../nodes/Node.js';
|
||
|
import { Pair } from '../../nodes/Pair.js';
|
||
|
import { YAMLMap } from '../../nodes/YAMLMap.js';
|
||
|
import { YAMLSeq } from '../../nodes/YAMLSeq.js';
|
||
|
import type { Schema } from '../../schema/Schema.js';
|
||
|
import type { CollectionTag } from '../types.js';
|
||
|
export declare function resolvePairs(seq: YAMLSeq.Parsed<ParsedNode | Pair<ParsedNode, ParsedNode | null>> | YAMLMap.Parsed, onError: (message: string) => void): YAMLSeq.Parsed<Pair<ParsedNode, ParsedNode | null>>;
|
||
|
export declare function createPairs(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLSeq<unknown>;
|
||
|
export declare const pairs: CollectionTag;
|