import { IDefaultServerResolution, IMt5ServerCatalogEntry } from './mt5.type'; /** Map one raw projection row; `null` for a row without a usable name. */ export declare const toServerCatalogEntry: (raw: unknown) => IMt5ServerCatalogEntry | null; /** Parse the endpoint's envelope; throws on a malformed or failed response. */ export declare const parseServerCatalog: (body: unknown) => IMt5ServerCatalogEntry[]; /** * Match the public markets setting's short server id (e.g. `'live'`) against * the catalog: exact name first, then substring — the setting carries the * broker's short id while the catalog name may be a display name. */ export declare const matchServerBySettingId: (servers: readonly IMt5ServerCatalogEntry[], settingId: string) => IMt5ServerCatalogEntry | null; /** * Anonymous default server: the setting's id matched against the catalog, * else the first catalog row, else the env fallback (`usedFallback: true`). */ export declare const resolveDefaultServerName: (servers: readonly IMt5ServerCatalogEntry[], settingId: string | null | undefined, fallbackName: string | null) => IDefaultServerResolution; //# sourceMappingURL=catalog.d.ts.map