export interface MarkitConversionResult { content: string; ok: boolean; error?: string; } /** Bind the in-process interactive renderer for its lifetime. */ export declare function setMarkitDiagnosticSink(sink: (message: string) => void): () => void; export declare function convertFileWithMarkit(filePath: string, signal?: AbortSignal): Promise; export declare function convertBufferWithMarkit(buffer: Uint8Array, extension: string, signal?: AbortSignal): Promise; //# sourceMappingURL=markit.d.ts.map