import { VertesiaClient } from "@vertesia/client";
import { ContentObject } from "@vertesia/common";
import React from "react";
interface PdfPagesInfo {
    count: number;
    urls: string[];
    originalUrls: string[];
    annotatedUrls: string[];
    instrumentedUrls: string[];
    layoutProvider: PageLayoutProvider;
    markdownProvider: PageMarkdownProvider;
    xml: string;
    xmlPages: string[];
}
declare class PageLayoutProvider {
    totalPages: number;
    layoutUrls: string[];
    cache: string[];
    constructor(totalPages: number);
    loadUrls(vertesia: VertesiaClient, objectId: string): Promise<void>;
    getPageLayout(page: number): Promise<string>;
}
declare class PageMarkdownProvider {
    totalPages: number;
    markdownUrls: string[];
    cache: string[];
    constructor(totalPages: number);
    loadUrls(vertesia: VertesiaClient, objectId: string): Promise<void>;
    getPageMarkdown(page: number): Promise<string>;
}
interface PdfPageProviderProps {
    object: ContentObject;
    children: React.ReactNode;
}
export declare function PdfPageProvider({ children, object }: PdfPageProviderProps): import("react/jsx-runtime").JSX.Element | undefined;
export declare function getResourceUrl(vertesia: VertesiaClient, objectId: string, name: string): Promise<string>;
export declare function usePdfPagesInfo(): PdfPagesInfo;
export {};
//# sourceMappingURL=PdfPageProvider.d.ts.map