import { type WithRev } from '@/api/type';
import type { FdtoBulkSkuRequest, FdtoBulkUnitsRequest, FdtoBulkRecipeRequest } from '@feedmepos/zod-inventory';
export declare const useInventoryApi: () => {
    readInventoryLocations(): Promise<{
        inventory?: {
            _id: string;
            updatedAt: string;
        } | null | undefined;
        preparationTime?: {
            unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
            value: number;
        } | 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;
            };
        };
    }[]>;
    readAllInventoryLocations(): Promise<{
        inventory?: {
            _id: string;
            updatedAt: string;
        } | null | undefined;
        preparationTime?: {
            unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
            value: number;
        } | 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;
            };
        };
    }[]>;
    readInventoryLocationsWithInventory(locationIds?: string[]): Promise<{
        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;
            };
        };
    }[]>;
    readInventory(): Promise<WithRev<{
        unit?: {
            _id: string;
            name: string;
            abbrev: string;
            precision: number;
            measurements: {
                name: string;
                id: string;
                abbrev: string;
                conversion: {
                    amount: number;
                    precision: number;
                };
            }[];
        }[] | null | undefined;
        recipe?: {
            customAttributes?: Record<string, any> | null | undefined;
            version?: "v2" | null | undefined;
            _id: string;
            name: string;
            contains: {
                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;
        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;
        }[] | null | undefined;
        skuGroup?: {
            rules?: {
                rule?: any;
                _id: string;
                name: string;
                skuRefs: {
                    default?: boolean | null | undefined;
                    trackingMeasurement?: string | null | undefined;
                    priority?: number | null | undefined;
                    _id: string;
                }[];
            }[] | null | undefined;
            ref?: string | null | undefined;
            defaultSkuRefs?: {
                default?: boolean | null | undefined;
                trackingMeasurement?: string | null | undefined;
                priority?: number | null | undefined;
                _id: string;
            }[] | null | undefined;
            _id: string;
            name: string;
        }[] | null | undefined;
        updatedAt?: string | null | undefined;
        _id: string;
    }>>;
    operation(req: any): Promise<WithRev<{
        unit?: {
            _id: string;
            name: string;
            abbrev: string;
            precision: number;
            measurements: {
                name: string;
                id: string;
                abbrev: string;
                conversion: {
                    amount: number;
                    precision: number;
                };
            }[];
        }[] | null | undefined;
        recipe?: {
            customAttributes?: Record<string, any> | null | undefined;
            version?: "v2" | null | undefined;
            _id: string;
            name: string;
            contains: {
                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;
        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;
        }[] | null | undefined;
        skuGroup?: {
            rules?: {
                rule?: any;
                _id: string;
                name: string;
                skuRefs: {
                    default?: boolean | null | undefined;
                    trackingMeasurement?: string | null | undefined;
                    priority?: number | null | undefined;
                    _id: string;
                }[];
            }[] | null | undefined;
            ref?: string | null | undefined;
            defaultSkuRefs?: {
                default?: boolean | null | undefined;
                trackingMeasurement?: string | null | undefined;
                priority?: number | null | undefined;
                _id: string;
            }[] | null | undefined;
            _id: string;
            name: string;
        }[] | null | undefined;
        updatedAt?: string | null | undefined;
        _id: string;
    }>>;
    importSkus(skus: FdtoBulkSkuRequest): Promise<{
        inventory: {
            unit?: {
                _id: string;
                name: string;
                abbrev: string;
                precision: number;
                measurements: {
                    name: string;
                    id: string;
                    abbrev: string;
                    conversion: {
                        amount: number;
                        precision: number;
                    };
                }[];
            }[] | null | undefined;
            recipe?: {
                customAttributes?: Record<string, any> | null | undefined;
                version?: "v2" | null | undefined;
                _id: string;
                name: string;
                contains: {
                    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;
            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;
            }[] | null | undefined;
            skuGroup?: {
                rules?: {
                    rule?: any;
                    _id: string;
                    name: string;
                    skuRefs: {
                        default?: boolean | null | undefined;
                        trackingMeasurement?: string | null | undefined;
                        priority?: number | null | undefined;
                        _id: string;
                    }[];
                }[] | null | undefined;
                ref?: string | null | undefined;
                defaultSkuRefs?: {
                    default?: boolean | null | undefined;
                    trackingMeasurement?: string | null | undefined;
                    priority?: number | null | undefined;
                    _id: string;
                }[] | null | undefined;
                _id: string;
                name: string;
            }[] | null | undefined;
            updatedAt?: string | null | undefined;
            _id: string;
            _rev: string;
        };
        errors: {
            error?: any;
            data: {
                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;
            };
        }[];
    }>;
    importUnits(units: FdtoBulkUnitsRequest): Promise<{
        inventory: {
            unit?: {
                _id: string;
                name: string;
                abbrev: string;
                precision: number;
                measurements: {
                    name: string;
                    id: string;
                    abbrev: string;
                    conversion: {
                        amount: number;
                        precision: number;
                    };
                }[];
            }[] | null | undefined;
            recipe?: {
                customAttributes?: Record<string, any> | null | undefined;
                version?: "v2" | null | undefined;
                _id: string;
                name: string;
                contains: {
                    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;
            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;
            }[] | null | undefined;
            skuGroup?: {
                rules?: {
                    rule?: any;
                    _id: string;
                    name: string;
                    skuRefs: {
                        default?: boolean | null | undefined;
                        trackingMeasurement?: string | null | undefined;
                        priority?: number | null | undefined;
                        _id: string;
                    }[];
                }[] | null | undefined;
                ref?: string | null | undefined;
                defaultSkuRefs?: {
                    default?: boolean | null | undefined;
                    trackingMeasurement?: string | null | undefined;
                    priority?: number | null | undefined;
                    _id: string;
                }[] | null | undefined;
                _id: string;
                name: string;
            }[] | null | undefined;
            updatedAt?: string | null | undefined;
            _id: string;
            _rev: string;
        };
        errors: {
            error?: any;
            data: {
                _id: string;
                name: string;
                abbrev: string;
                precision: number;
                measurements: {
                    name: string;
                    id: string;
                    abbrev: string;
                    conversion: {
                        amount: number;
                        precision: number;
                    };
                }[];
            };
        }[];
    }>;
    importRecipes(recipes: FdtoBulkRecipeRequest): Promise<{
        inventory: {
            unit?: {
                _id: string;
                name: string;
                abbrev: string;
                precision: number;
                measurements: {
                    name: string;
                    id: string;
                    abbrev: string;
                    conversion: {
                        amount: number;
                        precision: number;
                    };
                }[];
            }[] | null | undefined;
            recipe?: {
                customAttributes?: Record<string, any> | null | undefined;
                version?: "v2" | null | undefined;
                _id: string;
                name: string;
                contains: {
                    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;
            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;
            }[] | null | undefined;
            skuGroup?: {
                rules?: {
                    rule?: any;
                    _id: string;
                    name: string;
                    skuRefs: {
                        default?: boolean | null | undefined;
                        trackingMeasurement?: string | null | undefined;
                        priority?: number | null | undefined;
                        _id: string;
                    }[];
                }[] | null | undefined;
                ref?: string | null | undefined;
                defaultSkuRefs?: {
                    default?: boolean | null | undefined;
                    trackingMeasurement?: string | null | undefined;
                    priority?: number | null | undefined;
                    _id: string;
                }[] | null | undefined;
                _id: string;
                name: string;
            }[] | null | undefined;
            updatedAt?: string | null | undefined;
            _id: string;
            _rev: string;
        };
        errors: {
            error?: any;
            data: {
                customAttributes?: Record<string, any> | null | undefined;
                version?: "v2" | null | undefined;
                _id: string;
                name: string;
                contains: {
                    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;
                }[];
            };
        }[];
    }>;
    publishInventory(locationId: string): Promise<String[]>;
    publishAllInventory(): Promise<String[]>;
    urls: {
        portalBackendUrl: string;
        netSuiteBackendUrl: string;
        businessesBackendUrl: string;
        inventoryBackendUrl: string;
        foodMarketHubUrl: string;
        menuV4BackendUrl: string;
        dataBackendUrl: string;
    };
};
