/**
 * Options for the convert function.
 */
interface ConvertOptions {
    /** Directory where output files are written. Default: input file directory */
    outputDir?: string;
    /** Password for encrypted PDF files */
    password?: string;
    /** Output formats (comma-separated). Values: json, text, html, pdf, markdown, markdown-with-html, markdown-with-images. Default: json */
    format?: string | string[];
    /** Suppress console logging output */
    quiet?: boolean;
    /** Disable content safety filters. Values: all, hidden-text, off-page, tiny, hidden-ocg */
    contentSafetyOff?: string | string[];
    /** Preserve original line breaks in extracted text */
    keepLineBreaks?: boolean;
    /** Replacement character for invalid/unrecognized characters. Default: space */
    replaceInvalidChars?: string;
    /** Use PDF structure tree (tagged PDF) for reading order and semantic structure */
    useStructTree?: boolean;
    /** Table detection method. Values: cluster */
    tableMethod?: string;
    /** Reading order algorithm. Values: none, xycut. Default: none */
    readingOrder?: string;
    /** Separator between pages in Markdown output. Use %page-number% for page numbers. Default: none */
    markdownPageSeparator?: string;
    /** Separator between pages in text output. Use %page-number% for page numbers. Default: none */
    textPageSeparator?: string;
    /** Separator between pages in HTML output. Use %page-number% for page numbers. Default: none */
    htmlPageSeparator?: string;
    /** Embed images as Base64 data URIs instead of file path references */
    embedImages?: boolean;
    /** Output format for extracted images. Values: png, jpeg. Default: png */
    imageFormat?: string;
}
/**
 * Build CLI arguments array from ConvertOptions.
 */
declare function buildArgs(options: ConvertOptions): string[];

declare function convert(inputPaths: string | string[], options?: ConvertOptions): Promise<string>;
/**
 * @deprecated Use `convert()` and `ConvertOptions` instead. This function will be removed in a future version.
 */
interface RunOptions {
    outputFolder?: string;
    password?: string;
    replaceInvalidChars?: string;
    generateMarkdown?: boolean;
    generateHtml?: boolean;
    generateAnnotatedPdf?: boolean;
    keepLineBreaks?: boolean;
    contentSafetyOff?: string;
    htmlInMarkdown?: boolean;
    addImageToMarkdown?: boolean;
    noJson?: boolean;
    debug?: boolean;
    useStructTree?: boolean;
}
/**
 * @deprecated Use `convert()` instead. This function will be removed in a future version.
 */
declare function run(inputPath: string, options?: RunOptions): Promise<string>;

export { type ConvertOptions, type RunOptions, buildArgs, convert, run };
