import { MergeImportStatus, type MergedImportItem } from '../helpers/closing-draft-import.helper';
export declare function useClosingDraftImport(): {
    mergedItems: import("vue").Ref<{
        sku: {
            trackingMeasurement?: string | null | undefined;
            isInactive?: boolean | null | undefined;
            convert?: {
                measurement?: string | null | undefined;
                inventoryBindings?: {
                    measurement?: {
                        name: string;
                        id: string;
                        abbrev: string;
                        conversion: {
                            amount: number;
                            precision: number;
                        };
                    } | null | undefined;
                    rules?: Record<string, any> | null | undefined;
                    alternatives?: {
                        default?: boolean | null | undefined;
                        trackingMeasurement?: string | null | undefined;
                        priority?: number | null | undefined;
                        _id: string;
                    }[] | null | undefined;
                    type: "RECIPE" | "SKU" | "SKU_GROUP";
                    amount: {
                        amount: number;
                        precision: number;
                    };
                    id: string;
                }[] | null | undefined;
            } | null | undefined;
            valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
            defaultCost?: {
                measurement?: {
                    name: string;
                    id: string;
                    abbrev: string;
                    conversion: {
                        amount: number;
                        precision: number;
                    };
                } | null | undefined;
                costPerUnit: {
                    currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
                    amount: number;
                    precision: number;
                };
            } | null | undefined;
            operationalGroup?: string | null | undefined;
            thresholds?: {
                low: number;
                mid: number;
            } | null | undefined;
            customAttributes?: Record<string, any> | null | undefined;
            unit: {
                _id: string;
                name: string;
                abbrev: string;
                precision: number;
                measurements: {
                    name: string;
                    id: string;
                    abbrev: string;
                    conversion: {
                        amount: number;
                        precision: number;
                    };
                }[];
            };
            code: string;
            _id: string;
            name: string;
        };
        physicalCount: number;
        systemBalance: {
            amount: number;
            precision: number;
        };
        variance: number;
        status: MergeImportStatus;
    }[], MergedImportItem[] | {
        sku: {
            trackingMeasurement?: string | null | undefined;
            isInactive?: boolean | null | undefined;
            convert?: {
                measurement?: string | null | undefined;
                inventoryBindings?: {
                    measurement?: {
                        name: string;
                        id: string;
                        abbrev: string;
                        conversion: {
                            amount: number;
                            precision: number;
                        };
                    } | null | undefined;
                    rules?: Record<string, any> | null | undefined;
                    alternatives?: {
                        default?: boolean | null | undefined;
                        trackingMeasurement?: string | null | undefined;
                        priority?: number | null | undefined;
                        _id: string;
                    }[] | null | undefined;
                    type: "RECIPE" | "SKU" | "SKU_GROUP";
                    amount: {
                        amount: number;
                        precision: number;
                    };
                    id: string;
                }[] | null | undefined;
            } | null | undefined;
            valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
            defaultCost?: {
                measurement?: {
                    name: string;
                    id: string;
                    abbrev: string;
                    conversion: {
                        amount: number;
                        precision: number;
                    };
                } | null | undefined;
                costPerUnit: {
                    currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
                    amount: number;
                    precision: number;
                };
            } | null | undefined;
            operationalGroup?: string | null | undefined;
            thresholds?: {
                low: number;
                mid: number;
            } | null | undefined;
            customAttributes?: Record<string, any> | null | undefined;
            unit: {
                _id: string;
                name: string;
                abbrev: string;
                precision: number;
                measurements: {
                    name: string;
                    id: string;
                    abbrev: string;
                    conversion: {
                        amount: number;
                        precision: number;
                    };
                }[];
            };
            code: string;
            _id: string;
            name: string;
        };
        physicalCount: number;
        systemBalance: {
            amount: number;
            precision: number;
        };
        variance: number;
        status: MergeImportStatus;
    }[]>;
    unrecognisedItemCodes: import("vue").Ref<string[], string[]>;
    hasBlockingErrors: import("vue").ComputedRef<boolean>;
    isLoading: import("vue").Ref<boolean, boolean>;
    onFileUpload: (file: File) => Promise<void>;
    submit: () => Promise<{
        stockSnapshot?: {
            closing?: {
                costBalances?: {
                    adjustmentId?: string | null | undefined;
                    amount: {
                        amount: number;
                        precision: number;
                    };
                    cost: {
                        currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
                        amount: number;
                        precision: number;
                    };
                }[] | null | undefined;
                id: string;
                createdAt: string;
                balance: {
                    amount: number;
                    precision: number;
                };
            } | null | undefined;
            weightedAverage?: {
                currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
                amount: number;
                precision: number;
            } | null | undefined;
            costs?: {
                adjustmentId?: string | null | undefined;
                amount: {
                    amount: number;
                    precision: number;
                };
                cost: {
                    currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
                    amount: number;
                    precision: number;
                };
            }[] | null | undefined;
            id: string;
            balance: {
                amount: number;
                precision: number;
            };
        }[] | null | undefined;
        _rev?: string | null | undefined;
        remark?: string | null | undefined;
        effectiveAt?: string | null | undefined;
        adjustmentSnapshot?: {
            skuId: string;
            adjustmentsByType: Partial<Record<"RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE", {
                amount: number;
                precision: number;
            }>>;
        }[] | null | undefined;
        opening?: {
            skuId: string;
            balance: {
                amount: number;
                precision: number;
            };
        }[] | null | undefined;
        approvedAt?: string | null | undefined;
        approvedBy?: {
            name: string;
            id: string;
        } | null | undefined;
        approveRemark?: string | null | undefined;
        rejectionHistory?: {
            rejectedAt: string;
            rejectedBy: {
                name: string;
                id: string;
            };
            rejectRemark: string;
        }[] | null | undefined;
        closingAdjustmentId?: string | null | undefined;
        closingId?: string | null | undefined;
        negativeStockItems?: {
            remark?: string | null | undefined;
            sku: {
                trackingMeasurement?: string | null | undefined;
                isInactive?: boolean | null | undefined;
                convert?: {
                    measurement?: string | null | undefined;
                    inventoryBindings?: {
                        measurement?: {
                            name: string;
                            id: string;
                            abbrev: string;
                            conversion: {
                                amount: number;
                                precision: number;
                            };
                        } | null | undefined;
                        rules?: Record<string, any> | null | undefined;
                        alternatives?: {
                            default?: boolean | null | undefined;
                            trackingMeasurement?: string | null | undefined;
                            priority?: number | null | undefined;
                            _id: string;
                        }[] | null | undefined;
                        type: "RECIPE" | "SKU" | "SKU_GROUP";
                        amount: {
                            amount: number;
                            precision: number;
                        };
                        id: string;
                    }[] | null | undefined;
                } | null | undefined;
                valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
                defaultCost?: {
                    measurement?: {
                        name: string;
                        id: string;
                        abbrev: string;
                        conversion: {
                            amount: number;
                            precision: number;
                        };
                    } | null | undefined;
                    costPerUnit: {
                        currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
                        amount: number;
                        precision: number;
                    };
                } | null | undefined;
                operationalGroup?: string | null | undefined;
                thresholds?: {
                    low: number;
                    mid: number;
                } | null | undefined;
                customAttributes?: Record<string, any> | null | undefined;
                unit: {
                    _id: string;
                    name: string;
                    abbrev: string;
                    precision: number;
                    measurements: {
                        name: string;
                        id: string;
                        abbrev: string;
                        conversion: {
                            amount: number;
                            precision: number;
                        };
                    }[];
                };
                code: string;
                _id: string;
                name: string;
            };
            baseAmount: {
                amount: number;
                precision: number;
            };
            measurementsAmounts: {
                measurement: {
                    name: string;
                    id: string;
                    abbrev: string;
                    conversion: {
                        amount: number;
                        precision: number;
                    };
                };
                amount: {
                    amount: number;
                    precision: number;
                };
            }[];
        }[] | null | undefined;
        activityLogs?: {
            remark?: string | null | undefined;
            action: "approveDraft" | "rejectDraft" | "markAsFailed";
            performedAt: string;
            performedBy: {
                name: string;
                id: string;
            };
        }[] | null | undefined;
        status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
        _id: string;
        updatedAt: string;
        createdAt: string;
        items: {
            remark?: string | null | undefined;
            sku: {
                trackingMeasurement?: string | null | undefined;
                isInactive?: boolean | null | undefined;
                convert?: {
                    measurement?: string | null | undefined;
                    inventoryBindings?: {
                        measurement?: {
                            name: string;
                            id: string;
                            abbrev: string;
                            conversion: {
                                amount: number;
                                precision: number;
                            };
                        } | null | undefined;
                        rules?: Record<string, any> | null | undefined;
                        alternatives?: {
                            default?: boolean | null | undefined;
                            trackingMeasurement?: string | null | undefined;
                            priority?: number | null | undefined;
                            _id: string;
                        }[] | null | undefined;
                        type: "RECIPE" | "SKU" | "SKU_GROUP";
                        amount: {
                            amount: number;
                            precision: number;
                        };
                        id: string;
                    }[] | null | undefined;
                } | null | undefined;
                valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
                defaultCost?: {
                    measurement?: {
                        name: string;
                        id: string;
                        abbrev: string;
                        conversion: {
                            amount: number;
                            precision: number;
                        };
                    } | null | undefined;
                    costPerUnit: {
                        currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
                        amount: number;
                        precision: number;
                    };
                } | null | undefined;
                operationalGroup?: string | null | undefined;
                thresholds?: {
                    low: number;
                    mid: number;
                } | null | undefined;
                customAttributes?: Record<string, any> | null | undefined;
                unit: {
                    _id: string;
                    name: string;
                    abbrev: string;
                    precision: number;
                    measurements: {
                        name: string;
                        id: string;
                        abbrev: string;
                        conversion: {
                            amount: number;
                            precision: number;
                        };
                    }[];
                };
                code: string;
                _id: string;
                name: string;
            };
            baseAmount: {
                amount: number;
                precision: number;
            };
            measurementsAmounts: {
                measurement: {
                    name: string;
                    id: string;
                    abbrev: string;
                    conversion: {
                        amount: number;
                        precision: number;
                    };
                };
                amount: {
                    amount: number;
                    precision: number;
                };
            }[];
        }[];
        updatedBy: {
            name: string;
            id: string;
        };
        createdBy: {
            name: string;
            id: string;
        };
        usingTemplates: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            ref?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            _id: string;
            name: string;
        }[];
    } & import("@feedmepos/inventory-core").RevisionIdMeta>;
    downloadTemplate: () => void;
};
