import type { ColumnDef } from '@tanstack/vue-table'; export declare const customFieldsByBusiness: Record; interface NetsuiteCustomOptionType { code: string; name: string; childName: string; externalId: string; fmMeasurementId?: string; fmMeasurementAbbrev?: string; remark?: string; } interface NetSuiteSettingOption { item: FdoNetSuiteItem; childItems: FdoNetSuiteChildItem[]; unit: FdoNetSuiteUnitType; units: Record; } export interface NetSuiteState { setting: Omit; businessSubsidiaryName: string; vendorSubsidiary: Record; skuSubsidiaries: Record; }>; isReady: boolean; skuOptions: Record; itemReplicas: FdoNetSuiteItemReplica[]; } export declare function useNetSuiteStore(): { readonly customFieldOptions: Record; checkCustomFieldCodes(args: { beforeStart?: () => Promise; templateItems: FdoPurchaseOrderTemplateItem[]; }): Promise>; transferTemplateColumnDefs(args: { onUpdate: (index: number, sku: FdoInventorySku, code: string, measurement?: FdoUnitMeasurement) => void; }): Record>; readonly skuSettingOptions: Record; readonly inventoryTransferOutEnabled: boolean; readonly isReady: boolean; readonly isEnabled: boolean; readonly isBusinessLocation: boolean; readonly businessSubsidiaryId: string | null | undefined; readonly businessSubsidiaryName: string; readonly state: { setting: { _id: string; enable: boolean; items: { name?: string | null | undefined; externalId?: string | null | undefined; itemType?: string | null | undefined; itemSubType?: string | null | undefined; cogsAccount?: { id: string; refName: string; } | null | undefined; pktCode?: string | null | undefined; pktName?: string | null | undefined; id: string; netSuiteId: string; unitTypeId: string; unitOfMeasureId: string; subsidiaryIds: string[]; includeChildren: boolean; }[]; syncedAt?: string | null | undefined; subsidiaryId?: string | null | undefined; restlet?: { type: "createItemReceipt" | "retrieveRecordInfo"; scriptId: string; deploymentId: string; }[] | null | undefined; locations: { id: string; name: string; type: "restaurant" | "warehouse"; netSuiteId: string; subsidiaryId: string; }[]; childItems: { name?: string | null | undefined; externalId?: string | null | undefined; itemType?: string | null | undefined; itemSubType?: string | null | undefined; cogsAccount?: { id: string; refName: string; } | null | undefined; pktCode?: string | null | undefined; pktName?: string | null | undefined; netSuiteId: string; parentNetSuiteId: string; unitTypeId: string; unitOfMeasureId: string; subsidiaryIds: string[]; includeChildren: boolean; }[]; units: { id: string; measurements: { id: string; netSuiteId: string; }[]; netSuiteId: string; baseUnitUnitOfMeasureId: string; }[]; subsidiaries: { parentId?: string | undefined; id: string; name: string; country: string; currency: string; }[]; vendors: { externalId?: string | null | undefined; custentity_financeapproval?: boolean | null | undefined; id: string; name: string; netSuiteId: string; subsidiaryId: string; }[]; }; businessSubsidiaryName: string; vendorSubsidiary: Record; skuSubsidiaries: Record; isReady: boolean; skuOptions: Record; itemReplicas: { deletedAt?: string | null | undefined; name?: string | null | undefined; externalId?: string | null | undefined; syncedAt?: string | null | undefined; itemSubType?: string | null | undefined; parentNetSuiteId?: string | null | undefined; cogsAccount?: { id: string; refName: string; } | null | undefined; customFields?: Record | null | undefined; skuCache?: { trackingMeasurement?: string | null | undefined; isInactive?: boolean | null | undefined; convert?: { measurement?: string | null | undefined; inventoryBindings?: { measurement?: { id: string; name: string; abbrev: string; conversion: { amount: number; precision: number; }; } | null | undefined; rules?: Record | null | undefined; alternatives?: { priority?: number | null | undefined; default?: boolean | null | undefined; trackingMeasurement?: string | null | undefined; _id: string; }[] | null | undefined; id: string; type: "RECIPE" | "SKU" | "SKU_GROUP"; amount: { amount: number; precision: number; }; }[] | null | undefined; } | null | undefined; valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined; defaultCost?: { measurement?: { id: string; name: 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 | null | undefined; _id: string; name: string; code: string; unit: { _id: string; name: string; abbrev: string; precision: number; measurements: { id: string; name: string; abbrev: string; conversion: { amount: number; precision: number; }; }[]; }; } | null | undefined; businessId: string; netSuiteId: string; itemType: string; unitTypeId: string; unitOfMeasureId: string; subsidiaryIds: string[]; includeChildren: boolean; }[]; }; readonly netSuiteItemIdToSkuId: Map; readonly netSuiteMeasurementIdToMeasurementId: Map; readonly netSuiteItemBySkuId: Map; readonly unitByNetsuiteId: Map; readonly measurementByNetsuiteId: Map; readonly configuredLocations: { id: string; name: string; type: "restaurant" | "warehouse"; netSuiteId: string; subsidiaryId: string; }[]; readonly currentLocationSetting: { id: string; name: string; type: "restaurant" | "warehouse"; netSuiteId: string; subsidiaryId: string; } | undefined; readonly isCurrentLocationBindedToNetSuite: boolean; getNetSuiteVendor(supplierId: string): FdoNetSuiteVendor | undefined; getNetSuiteLocation(locationId: string): FdoNetSuiteLocation | undefined; getSubsidiaryFullName(subsidiaryId?: string | null): { id: string | undefined; name: string; fullName: string; }; getLocationSubsidiary(netSuiteLocationId?: string | null): { id: string | undefined; name: string; fullName: string; }; currentLocationSubsidiary(): { id?: string; name: string; fullName: string; }; currentVendorSubsidiary(vendorId: string): { id?: string; name: string; fullName: string; }; readonly subsidiaryOptions: { label: string; value: FdoPurchaseOrderSubsidiaryNetSuiteSetting; }[]; getBusinessSubsidiaryTree(): FdoNetSuiteSubsidiaryWithChildren[]; getBusinessSubsidiaryPath(): string[]; getAvailableItems(subsidiaryId?: string | null): string[]; getAvailableMeasurements(skuId: string, subsidiaryId?: string | null): string[]; readSetting(): Promise; updateLocationConfigs(payload: Record): Promise; updateSupplierConfigs(payload: Record): Promise; getAllItemReplicas(): Promise; getNetSuiteVendorOptions(): Promise; getNetSuiteLocations(): Promise; getVendorSubsidiaryName(supplierId: string): string; getSkuSubsidiaries(skuId: string): { includeChildren: boolean; flattenedSubsidiaryNames: string[]; subsidiaryTree: Array; }; syncPurchaseOrder(args: { locationId?: string; purchaseOrderId: string; netsuiteId?: string | null; netsuiteRecordType?: string | null; }): Promise; getItemCustomCode(sku: FdoInventorySku, measurementId?: string | null): string | null; getNetSuiteLocationOptions(): Promise<{ netsuiteId: string; name: string; subsidiaryName: string; subsidiaryId: string; }[]>; getItemAverageCosts(): Promise>; }; export type FdoNetSuiteSubsidiaryWithChildren = FdoNetSuiteSubsidiary & { fullName?: string; depth: number; children: FdoNetSuiteSubsidiaryWithChildren[]; }; export declare function filterSubsidiaryTree(tree: FdoNetSuiteSubsidiaryWithChildren[], assignedSubsidiaryIds: string[], includeChildren: boolean): Array; export declare function buildSubsidiaryTree(data: FdoNetSuiteSubsidiary[], subsidiaryId?: string | null): { tree: FdoNetSuiteSubsidiaryWithChildren[]; available: string[]; flat: FdoNetSuiteSubsidiaryWithChildren[]; flatMapping: Record; }; export declare const netsuiteCustomFields: Record string>; export {};