import { default as Konva } from 'konva';
import { PageSizeEnum } from '../constants';
interface ExportPdfOptions {
    pageSize: PageSizeEnum;
    dpi?: number;
    customSize?: number[];
    fileName?: string;
}
export declare function usePagesToPdf(stage: Konva.Stage, pages: string[], pageGroupRefs: Record<string, Konva.Group>, options: ExportPdfOptions): Promise<void>;
export {};
