import { type RunStore } from "../run-state/index.js";
export declare const SEED_DOCUMENT_EXTRACTION_SCHEMA_VERSION = 1;
export type SeedDocumentExtractionStatus = "extracted" | "extractor_unavailable" | "failed" | "not_found" | "blocked" | "unsupported";
export type SeedPdfTextExtractorInfo = {
    binary: string;
    path: string;
    version: string;
    flavor: "poppler" | "xpdf" | "unknown";
};
export type SeedDocumentExtractionArtifactRefs = {
    directory?: string;
    metadata?: string;
    extractor?: string;
    text?: string;
    pages?: string;
    chunks?: string;
    report?: string;
};
export type SeedDocumentExtractionResult = {
    schema_version: typeof SEED_DOCUMENT_EXTRACTION_SCHEMA_VERSION;
    status: SeedDocumentExtractionStatus;
    document_id?: string;
    source: {
        input: string;
        resolved_path?: string;
        safe_roots?: string[];
        byte_size?: number;
        sha256?: string;
        modified_at?: string;
        mime_type?: string;
    };
    extractor: {
        requested_binary: "pdftotext";
        env_override?: string;
        resolved?: SeedPdfTextExtractorInfo;
        os: {
            platform: NodeJS.Platform;
            release: string;
            arch: string;
        };
        normalization_flags: string[];
        page_count?: number;
        chunk_count?: number;
        confidence: "none" | "low" | "medium" | "high";
    };
    warnings: string[];
    message: string;
    artifacts: SeedDocumentExtractionArtifactRefs;
};
export declare function extractSeedPdfDocument(store: RunStore, runId: string, input: {
    pathOrUrl: string;
    cwd: string;
    maxChunkChars?: number;
    env?: NodeJS.ProcessEnv;
}): Promise<SeedDocumentExtractionResult>;
export declare function formatDocumentExtractionEvidence(result: SeedDocumentExtractionResult): string;
export declare function resolvePdfTextExtractor(env?: NodeJS.ProcessEnv): Promise<SeedPdfTextExtractorInfo>;
