/** * MIC (Market Identifier Code) 注册表 * * 基于 ISO 10383 标准,内置主要交易所数据。 * 本模块为纯静态数据 + 查询函数,零 IO 依赖。 */ import type { ExchangeMeta, MarketIdentifierCode } from './types.js'; /** * 查询交易所元信息。 * @param mic ISO 10383 MIC 代码(不区分大小写) * @returns 交易所元信息,未找到返回 undefined */ export declare function getExchangeMeta(mic: MarketIdentifierCode): ExchangeMeta | undefined; /** * 通过后缀推断 MIC。 * @param suffix 交易所后缀(如 SH、SZ、HK、US) * @returns MIC 代码,未找到返回 undefined */ export declare function getMicBySuffix(suffix: string): string | undefined; /** * 通过前缀推断 MIC。 * @param prefix 交易所前缀(如 SH、SZ、HK) * @returns MIC 代码,未找到返回 undefined */ export declare function getMicByPrefix(prefix: string): string | undefined; /** * 列出所有已注册的 MIC 代码。 */ export declare function listAllMICs(): string[]; /** * 列出所有已注册的交易所元信息。 */ export declare function listAllExchanges(): ExchangeMeta[]; //# sourceMappingURL=mic-registry.d.ts.map