import { AbstractControl } from '@angular/forms'; import { LabelConfig } from '../label/label.model'; import { Supplier } from '../search-supplier/search-supplier.model'; import { Product } from '../search-product/search-product.model'; export declare class ValueExtracted { label: string; value: string; } export declare class PdtDocumentExtracted { summary: ValueExtracted[]; lines: ValueExtracted[][]; } export declare class PdtDocumentBuilderComponentServices { getSuppliers?: (description: string) => Promise; getProducts?: (description: string) => Promise; } export declare class PdtDocumentBuilderComponentConfig { key: string; formControl?: AbstractControl; result?: PdtDocumentExtracted; products: { name: string; codes: string[]; tax?: number; }[]; status: 'NEW' | 'READING' | 'LOADED'; summary?: { supplier?: { code: string; name: string; }; date?: string; }; pdtLabels?: { code?: LabelConfig; description?: LabelConfig; quantity?: LabelConfig; price?: LabelConfig; discount?: LabelConfig; tax?: LabelConfig; batch?: LabelConfig; supplier?: LabelConfig; date?: LabelConfig; other?: LabelConfig; readingData?: LabelConfig; supplierCode?: LabelConfig; total?: LabelConfig; grossTotal?: LabelConfig; supplierTotal?: LabelConfig; }; lines: { supplierCode: string; code: string; quantity: string; description: string; price: string; discount: string; tax: string; batch: string; }[]; columns: { supplierCode?: { mapper: string; translationKey: string; }; code?: { mapper: string; translationKey: string; }; quantity?: { mapper: string; translationKey: string; }; description?: { mapper: string; translationKey: string; }; price?: { mapper: string; translationKey: string; }; discount?: { mapper: string; translationKey: string; }; tax?: { mapper: string; translationKey: string; }; batch?: { mapper: string; translationKey: string; }; supplierTotal?: { mapper: string; translationKey: string; }; }; }