import type { WithRev } from '@/api/type'; export declare const useStockApi: () => { readStockBalance(): Promise>; readSkuBalance(): Promise; readSingleAdjustment(id: string): Promise | null>; readStockAdjustment(id: string, start: string, end: string): Promise[]>; readAdjustmentById(id: string): Promise>; convertSku(dto: FdtoConvertSku): Promise; adjustSku(dto: FdtoAdjustSkuBalance): Promise; revertWastageAdjustment(payload: FdtoRevertWastageAdjustment): Promise; recalculation: { getRecalculateAbility(): Promise<{ reason?: string | null | undefined; lastClosing?: string | null | undefined; canRecalculate: boolean; }>; startRecalculateTask(): Promise; refreshCurrentBalances(): Promise; scheduleCalculateStockSnapshotAtDate(effectiveAt: string, closingDraftId: string): Promise; scheduleInvalidateClosingDraftCache(closingDraftIds: string[]): Promise; recalculationRequests(): Promise; scheduleRecalculation(args: { openingId: string; untilDate: string; recalculateBySnapshot?: boolean; }): Promise; getAffectedClosingDrafts(openingId: string, untilDate: string): Promise; }; readUnitCostHistory(skuId: string, startDate: string, endDate: string): Promise; };