UNPKG

document-scanner-vue

Version:

Vue 3 Document Scanner with OpenCV.js - Mobile optimized with camera/gallery support

16 lines 771 B
import { type ComputedRef, type DeepReadonly } from 'vue'; import type { Page } from '@/types'; export interface DocumentProcessingOptions { pageManager: { pages: ComputedRef<DeepReadonly<Page[]>>; addFileAsPageWithProgress: (file: File, progressCallback: (status: string, progress: number) => void) => Promise<string>; selectPage: (pageId: string | null) => void; }; } export declare function useDocumentProcessing(options: DocumentProcessingOptions): { isLoading: import("vue").Ref<boolean, boolean>; processingStatus: import("vue").Ref<string, string>; processingProgress: import("vue").Ref<number, number>; handleFilesSelected: (newFiles: File[]) => Promise<void>; }; //# sourceMappingURL=useDocumentProcessing.d.ts.map