import type { BlockHandler } from "./handler.type.js"; /** Block chunk identified during first-pass line scanning. */ export interface BlockChunk { type: string; raw: string; attrs?: Record; } export declare const ITEM_SEPARATOR = "\u001E"; /** Called by registry.ts to wire up the shared handler map. */ export declare function setHandlerRegistry(registry: Record): void; /** Called by registry.ts to wire up the resolver function. */ export declare function setHandlerResolver(resolver: (type: string) => BlockHandler | undefined): void; /** Resolve a block handler by type. Used by handlers that render nested blocks. */ export declare function resolveBlockHandler(type: string): BlockHandler | undefined; /** * Split raw markdown into block chunks — type + raw content. * Single-pass line-based scanner, no recursion. */ export declare function identifyBlocks(markdown: string): BlockChunk[]; export declare function indentWidth(line: string): number; export declare function leavesParagraphOpen(line: string): boolean; export declare function isBlockBoundary(line: string): boolean; //# sourceMappingURL=identify.d.ts.map