/**
 * Canonical `/apy` window for GMX yields, shared by the vault provider
 * (`fetchGmxVaults`) and the intrinsic-yield fetcher
 * (`yields/intrinsic/fetchers/gmx`) so the two surfaces can't drift to
 * different windows.
 *
 * `1d` on purpose: it is the finest window the API serves and the one we
 * record, so longer windows (7d/30d/90d) can be re-derived from stored
 * history rather than pinned here. Callers that want a specific window can
 * still pass `options.period` to `fetchGmxVaults`.
 */
export declare const GMX_DEFAULT_APY_PERIOD = "1d";
/** `/apy` entry — fractions (e.g. `0.16` = 16%). */
export interface GmxApyEntry {
    apy: number;
    baseApy: number;
    bonusApr: number;
}
/** `/apy` response: GM markets + GLV vaults, each keyed by token address. */
export interface GmxApyResponse {
    markets: {
        [address: string]: GmxApyEntry;
    };
    glvs: {
        [address: string]: GmxApyEntry;
    };
}
/** `/markets` entry. */
export interface GmxMarketMeta {
    name: string;
    marketToken: string;
    indexToken: string;
    longToken: string;
    shortToken: string;
    isListed: boolean;
}
/** `/glvs` entry. */
export interface GmxGlvMeta {
    name: string;
    glvToken: string;
    longToken: string;
    shortToken: string;
    isListed: boolean;
}
/** `/tokens` entry. */
export interface GmxTokenMeta {
    symbol: string;
    address: string;
    decimals: number;
    synthetic?: boolean;
}
/**
 * Fetch the four gmxinfra endpoints for a chain in parallel: APY (the
 * yield numbers), markets + glvs (metadata: name, long/short/index legs),
 * and tokens (address → symbol map for denomination + leg symbols).
 *
 * Throws if the chain is unsupported or the APY fetch fails; metadata
 * fetches are best-effort (an empty list degrades to no enrichment).
 */
export declare const fetchGmxRawData: (chainId: string, period: string, apiUrlOverride?: string) => Promise<{
    apy: GmxApyResponse;
    markets: GmxMarketMeta[];
    glvs: GmxGlvMeta[];
    tokens: GmxTokenMeta[];
}>;
//# sourceMappingURL=api.d.ts.map