Briyah SDK - v2.0.6
    Preparing search index...

    Interface PdfMarkdownResult

    A finished conversion, with the agents typed as Briyah's own.

    interface PdfMarkdownResult {
        agents: Agent[];
        failedPages: number[];
        markdown: string;
        pageCount: number;
        pages: PdfPageMarkdown[];
        totalCost: number;
    }

    Hierarchy

    Index
    agents: Agent[]
    failedPages: number[]

    The pages that exhausted their attempts, in order. Empty on a clean run.

    markdown: string

    Every page concatenated, with <!-- Page N --> markers and a header.

    pageCount: number
    totalCost: number

    Summed across every page's agent.