import { JSONSchema, ValidateFunction } from '../validation'; import { ChainId } from './chain-id'; import { ListingStatus } from './listing-status'; import { Network } from './network'; export type Order = { id: string; marketplaceAddress: string; contractAddress: string; tokenId: string; owner: string; buyer: string | null; price: string; status: ListingStatus; expiresAt: number; createdAt: number; updatedAt: number; network: Network.ETHEREUM | Network.MATIC; chainId: ChainId; issuedId: string; tradeId?: string; }; export type OrderFilters = { first?: number; skip?: number; sortBy?: OrderSortBy; marketplaceAddress?: string; owner?: string; buyer?: string; contractAddress?: string; tokenId?: string; status?: ListingStatus; network?: Network; itemId?: string; nftName?: string; }; export declare enum OrderSortBy { RECENTLY_LISTED = "recently_listed", RECENTLY_UPDATED = "recently_updated", CHEAPEST = "cheapest", ISSUED_ID_ASC = "issued_id_asc", ISSUED_ID_DESC = "issued_id_desc", OLDEST = "oldest" } export declare namespace Order { const schema: JSONSchema; const validate: ValidateFunction; } //# sourceMappingURL=order.d.ts.map