2024-08-09 12:04:48 +00:00
|
|
|
import type { ParsedNode } from '../nodes/Node.js';
|
|
|
|
import type { BlockMap, BlockSequence, FlowCollection, SourceToken } from '../parse/cst.js';
|
|
|
|
import type { ComposeContext, ComposeNode } from './compose-node.js';
|
|
|
|
import type { ComposeErrorHandler } from './composer.js';
|
2024-08-21 06:34:30 +00:00
|
|
|
interface Props {
|
|
|
|
anchor: SourceToken | null;
|
|
|
|
tag: SourceToken | null;
|
|
|
|
newlineAfterProp: SourceToken | null;
|
|
|
|
}
|
|
|
|
export declare function composeCollection(CN: ComposeNode, ctx: ComposeContext, token: BlockMap | BlockSequence | FlowCollection, props: Props, onError: ComposeErrorHandler): ParsedNode;
|
|
|
|
export {};
|