import type { WithRev, CreateType } from '@/api/type';
export declare const useWarehouseApi: () => {
    readWarehouses(): Promise<WithRev<FdoWarehouse>[]>;
    createWarehouse(warehouse: CreateType<FdoWarehouse>): Promise<WithRev<FdoWarehouse>>;
    updateWarehouse(id: string, profile: FdoWarehouseProfile & {
        preparationTime?: FdoInventoryDuration | null;
    }): Promise<WithRev<FdoWarehouse>>;
    deleteWarehouse(id: string): Promise<WithRev<boolean>>;
};
