import { type ExportCanvasOptions, type ExportCanvasResult } from '../utils/export-canvas';
export interface UseExportCanvasState {
    isExporting: boolean;
    error: Error | null;
    lastResult: ExportCanvasResult | null;
}
export interface UseExportCanvasActions {
    exportToImage: (options?: ExportCanvasOptions) => Promise<ExportCanvasResult | null>;
    downloadAsImage: (filename?: string, options?: ExportCanvasOptions) => Promise<void>;
    copyToClipboard: (options?: Omit<ExportCanvasOptions, 'format'>) => Promise<void>;
    clearError: () => void;
}
export type UseExportCanvasReturn = UseExportCanvasState & UseExportCanvasActions;
export declare function useExportCanvas(): UseExportCanvasReturn;
//# sourceMappingURL=useExportCanvas.d.ts.map