import type { Block } from '../nodes/block.js'; import type { List } from '../nodes/list.js'; import type { Node } from '../nodes/node.js'; import type { Table } from '../nodes/table.js'; import type { BlockBuilder } from './block.js'; import type { ListBuilder } from './list.js'; import type { RootBuilder } from './root.js'; import type { TableBuilder } from './table.js'; export type NodeImplementor = ($: B) => null | B; export type Builder = RootBuilder | BlockBuilder | TableBuilder | ListBuilder; export interface BuilderInternal { _: { node: N; }; } export declare const toInternalBuilder: | null>(builder: Builder_1) => Builder_1 extends null ? null : Builder_1 extends BlockBuilder ? BuilderInternal : Builder_1 extends TableBuilder ? BuilderInternal : Builder_1 extends ListBuilder ? BuilderInternal : never; //# sourceMappingURL=helpers.d.ts.map