export declare const useClosingApi: () => { readLastClosing(dbName: string, idOnly?: boolean): Promise | null>; readCurrentLocationLastClosing(idOnly?: boolean): Promise | null>; getClosingById(id: string): Promise; getLastNClosings(limit?: number): Promise; setOpeningBalance(payload: { effectiveAt: string; skuAdjustments: FdoSkuAdjustment[]; skuBalances: FdoSkuBalance[]; }): Promise; initiateClosing(): Promise; initiateStockSnapshot(date: string): Promise; getLastNStockSnapshots(limit?: number): Promise; };