import { APIResource } from "../core/resource.mjs"; import { APIPromise } from "../core/api-promise.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; export declare class Entities extends APIResource { /** * To query all the supported entities on CoinGecko with entity ID, name, symbol, * and country */ getList(query?: EntityGetListParams | null | undefined, options?: RequestOptions): APIPromise; } export type EntityGetListResponse = Array; export declare namespace EntityGetListResponse { interface EntityGetListResponseItem { /** * Entity ID */ id: string; /** * Country code */ country: string; /** * Entity name */ name: string; /** * Ticker symbol of public company */ symbol: string; } } export interface EntityGetListParams { /** * Filter by entity type. */ entity_type?: 'company' | 'government'; /** * Page through results. Default value: 1 */ page?: number; /** * Total results per page. Default value: 100 Valid values: 1...250 */ per_page?: number; } export declare namespace Entities { export { type EntityGetListResponse as EntityGetListResponse, type EntityGetListParams as EntityGetListParams, }; } //# sourceMappingURL=entities.d.mts.map