import type { IEmberVault, IFetchEmberVaultsOptions } from './types'; /** * Fetch Ember vaults from API. * * Results are cached for {@link EMBER_CACHE_TTL_MS} (keyed by the full request * URL, so different query options cache independently) and the request is * aborted after {@link EMBER_FETCH_TIMEOUT_MS}. Failures — including timeouts — * are never cached and resolve to `[]`, preserving the long-standing * fail-tolerant contract of this getter. */ export declare function getEmberVaults(options?: IFetchEmberVaultsOptions): Promise; /** * Fetch the latest Ember TVL (in whole units, i.e. `tvlE9 / 1e9`). * * Shares the timeout and cache of {@link getEmberVaults} via * {@link fetchEmberArray}: the TVL history payload is cached for * {@link EMBER_CACHE_TTL_MS} per `limit`, and a hung request is aborted after * {@link EMBER_FETCH_TIMEOUT_MS}. Failures — including timeouts — are never * cached and resolve to `0`. * * @param limit - Number of history rows to request; only the newest is read. * @returns The latest TVL, or `0` when unavailable. */ export declare function getEmberTVL(limit?: number): Promise;