/** Convert a document to markdown. Returns null for unsupported formats (ods). */
export declare function documentToMarkdown(filePath: string): Promise<string | null>;
export type MarkdownConverter = typeof documentToMarkdown;
/**
 * A `documentToMarkdown` that coalesces conversions of the same file:
 * concurrent and repeated calls for one path share a single conversion
 * (including its failure, so a broken document is not re-parsed per caller).
 * Scope one converter per operation (e.g. one workspace bundle) — it holds
 * every converted document's markdown for its lifetime.
 */
export declare function createSharedMarkdownConverter(): MarkdownConverter;
