import { ComputedRef, Ref, ShallowRef } from 'vue'; import { FileRenderExportAdapter, FileViewerOperationAvailability, FileViewerOperationType } from '../../common/type'; interface UseViewerExportOptions { activeExportAdapter: ShallowRef; currentBuffer: Ref; currentFile: Ref; currentSourceUrl: Ref; displayFilename: ComputedRef; formatErrorMessage: (prefix: string, nextError: unknown) => string; operationAvailability: ComputedRef; output: Ref; runBeforeOperation: (operation: FileViewerOperationType) => Promise; showError: (message: string) => void; watermarkInlineStyle: ComputedRef; } export declare const useViewerExport: ({ activeExportAdapter, currentBuffer, currentFile, currentSourceUrl, displayFilename, formatErrorMessage, operationAvailability, output, runBeforeOperation, showError, watermarkInlineStyle }: UseViewerExportOptions) => { downloadOriginalFile: () => Promise; exportRenderedHtml: () => Promise; printRenderedHtml: () => Promise; }; export {};