/** * Public API for the markdown-to-ADF converter. * * Validates input size then delegates to parseBlocks for the actual parsing. * The 500KB limit prevents memory exhaustion from pathologically large inputs. */ import type { AdfDocument } from './nodes.js'; export type { AdfDocument, AdfNode, AdfMark } from './nodes.js'; /** * Convert markdown to Atlassian Document Format (ADF). * * @param markdown - Input markdown string * @returns ADF document * @throws ValidationError(MARKDOWN_TOO_LARGE) if input exceeds 500 KB */ export declare function markdownToAdf(markdown: string): AdfDocument; //# sourceMappingURL=index.d.ts.map