import type { CollectionSearchByTraitResponse } from '../models/CollectionSearchByTraitResponse'; import type { SearchAssetsWithinCollectionByTraitsInput } from '../models/SearchAssetsWithinCollectionByTraitsInput'; import type { SearchResults } from '../models/SearchResults'; import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class SearchService { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); /** * NFT search * Searches for an NFT asset or collection based on an input query * @returns SearchResults OK * @throws ApiError */ getSearchResults({ network, limit, offset, query, type, }: { /** Network ID **/ network?: 'arbitrum-mainnet' | 'avalanche-mainnet' | 'bsc-mainnet' | 'celo-mainnet' | 'ethereum-goerli' | 'ethereum-mainnet' | 'ethereum-rinkeby' | 'ethereum-ropsten' | 'fantom-mainnet' | 'harmony-mainnet' | 'optimism-mainnet' | 'polygon-mainnet' | 'solana-mainnet'; limit?: number | null; offset?: number | null; /** Query string **/ query?: string; /** Desired result type, valid options are asset, collection, or all **/ type?: string; }): CancelablePromise; /** * Search assets within a collection by traits * Returns all assets within a collection with particular attributes * @returns CollectionSearchByTraitResponse OK * @throws ApiError */ searchAssetsWithinCollectionByTraits({ address, network, limit, offset, requestBody, }: { /** Collection Address **/ address?: string; /** Network ID **/ network?: 'arbitrum-mainnet' | 'avalanche-mainnet' | 'bsc-mainnet' | 'celo-mainnet' | 'ethereum-goerli' | 'ethereum-mainnet' | 'ethereum-rinkeby' | 'ethereum-ropsten' | 'fantom-mainnet' | 'harmony-mainnet' | 'optimism-mainnet' | 'polygon-mainnet' | 'solana-mainnet'; limit?: number | null; offset?: number | null; requestBody?: SearchAssetsWithinCollectionByTraitsInput; }): CancelablePromise; }