import type { ApiCapturedTradeCost, ApiPlannedTradeCost, ApiTrade, ApiTradeCost, User } from "../models"; import type { AssociationIds } from "type_aliases"; export default class TradeApi { static listTrades({ projectId }: AssociationIds, user: User): Promise; static listPlannedTradeCosts({ projectId }: AssociationIds, user: User): Promise; static listCapturedTradeCosts({ projectId }: AssociationIds, scanDate: Date, user: User): Promise; static refreshCapturedTradeCosts(user: User): Promise; static checkStatusOfLastRefreshCapturedTradeCosts(user: User): Promise; static listTradeCosts({ projectId }: AssociationIds, user: User): Promise; static updateTradeCostReportedQuantity({ projectId }: AssociationIds, tradeCode: string, reportedQuantity: number, user: User): Promise; }