export interface OcrField {
    key: string;
    label: string;
    value: string;
    visible?: boolean;
}
export interface OcrSection {
    name: string;
    fields: OcrField[];
}
export type OcrDocType = 'idCard' | 'bankCard' | 'vehicleLicense' | 'driverLicense' | 'businessLicense' | 'specialCertificate' | 'vatInvoice' | 'customTable';
export interface OcrAttrs {
    title: string;
    desc: string;
    required: boolean;
    ocrType: OcrDocType;
    sections: OcrSection[];
    allowCamera?: boolean;
    allowGallery?: boolean;
}
export interface OcrValue {
    imageUrl: string;
    imageKey: string;
    recognized: boolean;
    fields: Record<string, string>;
}
