document-scanner-vue
Version:
Vue 3 Document Scanner with OpenCV.js - Mobile optimized with camera/gallery support
21 lines • 647 B
TypeScript
import type { Ref } from 'vue';
import type { Corners } from '../types';
interface PageData {
id: string;
mode: string;
corners: Corners | null;
originalWidth: number;
originalHeight: number;
currentRotation: number;
}
interface PageManager {
currentPage: Ref<any>;
updatePageData: (pageId: string, updates: any) => void;
}
interface UseCornerValidationOptions {
currentDisplayPage: Ref<PageData | null>;
pageManager: PageManager;
}
export declare function useCornerValidation({ currentDisplayPage, pageManager }: UseCornerValidationOptions): {};
export {};
//# sourceMappingURL=useCornerValidation.d.ts.map