compose-collection.d.ts 594 B

1234567891011
  1. import type { ParsedNode } from '../nodes/Node.js';
  2. import type { BlockMap, BlockSequence, FlowCollection, SourceToken } from '../parse/cst.js';
  3. import type { ComposeContext, ComposeNode } from './compose-node.js';
  4. import type { ComposeErrorHandler } from './composer.js';
  5. interface Props {
  6. anchor: SourceToken | null;
  7. tag: SourceToken | null;
  8. newlineAfterProp: SourceToken | null;
  9. }
  10. export declare function composeCollection(CN: ComposeNode, ctx: ComposeContext, token: BlockMap | BlockSequence | FlowCollection, props: Props, onError: ComposeErrorHandler): ParsedNode;
  11. export {};