import type { InventoryLocation } from '@/stores/location'; /** * Resolve the inventory location for a bulk-view PO using its `_locationDbName`. * Returns `null` when the dbName is absent or no matching location is found. * * For restaurant locations, the returned object is a shallow copy with the live * restaurant doc (from `getRestaurantDoc`) patched in, so the original store * entry is never mutated. */ export declare function resolveLocationForBulkPo(po: { _locationDbName?: string; }, locations: InventoryLocation[], getRestaurantDoc: (locationId: string) => unknown): InventoryLocation | null; /** * Find the purchase request for a PO from an array of purchase requests. * Returns `undefined` when none is found. */ export declare function resolvePurchaseRequestForPo(po: { _id: string; }, purchaseRequests: T[]): T | undefined;