import { APIResource } from "../../core/resource.mjs"; import * as TrendingAPI from "./trending.mjs"; import { Trending, TrendingGetParams, TrendingGetResponse } from "./trending.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class Search extends APIResource { trending: TrendingAPI.Trending; /** * To search for coins, categories and markets listed on CoinGecko */ get(query: SearchGetParams, options?: RequestOptions): APIPromise; } export interface SearchGetResponse { categories: Array; coins: Array; exchanges: Array; icos: Array; nfts: Array; } export declare namespace SearchGetResponse { interface Category { /** * Category ID */ id: string; /** * Category name */ name: string; } interface Coin { /** * Coin ID */ id: string; /** * Coin API symbol */ api_symbol: string; /** * Coin large image URL */ large: string; /** * Coin market cap rank */ market_cap_rank: number | null; /** * Coin name */ name: string; /** * Coin symbol */ symbol: string; /** * Coin thumb image URL */ thumb: string; } interface Exchange { /** * Exchange ID */ id: string; /** * Exchange large image URL */ large: string; /** * Exchange market type */ market_type: string; /** * Exchange name */ name: string; /** * Exchange thumb image URL */ thumb: string; } interface Ico { } interface NFT { /** * NFT collection ID */ id: string; /** * NFT collection name */ name: string; /** * NFT collection symbol */ symbol: string; /** * NFT collection thumb image URL */ thumb: string; } } export interface SearchGetParams { /** * Search query */ query: string; } export declare namespace Search { export { type SearchGetResponse as SearchGetResponse, type SearchGetParams as SearchGetParams }; export { Trending as Trending, type TrendingGetResponse as TrendingGetResponse, type TrendingGetParams as TrendingGetParams, }; } //# sourceMappingURL=search.d.mts.map