import { BaseProvider } from '../providers/base'; import { Order, OrderID, OrderState, Bid, BidID, BidState, Lease, LeaseID, LeaseState, DecCoin, LeaseCloseReason, Deposit, DepositSource } from '@cryptoandcoffee/akash-jsdk-protobuf'; import { CacheManager } from '../cache'; export interface CreateBidRequest { orderId: OrderID; provider: string; price: DecCoin; /** Legacy single deposit (backward compatible) */ deposit?: DecCoin; /** New multi-source deposit configuration (AEP-75) */ depositConfig?: Deposit; } export interface OrderFilters { owner?: string; state?: OrderState; dseq?: string; } export interface BidFilters { owner?: string; provider?: string; state?: BidState; dseq?: string; } export interface LeaseFilters { owner?: string; provider?: string; state?: LeaseState; dseq?: string; } export declare class MarketManager { private provider; private cache?; private readonly CACHE_TTL; constructor(provider: BaseProvider, cache?: CacheManager); getOrder(orderId: OrderID): Promise; listOrders(filters?: OrderFilters): Promise; createBid(request: CreateBidRequest): Promise; closeBid(bidId: BidID, _reason?: LeaseCloseReason): Promise; getBid(bidId: BidID): Promise; listBids(filters?: BidFilters): Promise; createLease(bidId: BidID): Promise; closeLease(leaseId: LeaseID, _reason?: LeaseCloseReason): Promise; getLease(leaseId: LeaseID): Promise; listLeases(filters?: LeaseFilters): Promise; /** * Create a deposit configuration (AEP-75: Multi-Depositor Escrow) */ createDepositConfig(amount: string, denom?: string, sources?: DepositSource[], depositors?: string[]): Deposit; getMarketStats(): Promise<{ totalOrders: number; activeLeases: number; totalBids: number; averagePrice: DecCoin; }>; } //# sourceMappingURL=market.d.ts.map