export declare const MYSTIC_CHAIN_IDS: Set<string>;
export declare function hasMysticApi(chainId: string): boolean;
/**
 * Fetch markets from the Mystic Finance full cache endpoint and reshape them
 * into the format MorphoBlueUpdater consumes (same as the official Morpho
 * API and the Goldsky subgraph path).
 */
export declare function fetchMarketsFromMysticApi(chainId: string): Promise<{
    markets: {
        items: any[];
    };
}>;
export type MysticMarketInfo = {
    id: string;
    chainId: string;
    loanSymbol: string;
    collateralSymbol: string;
    loanToken: string;
    collateralToken: string;
    /** Decimal lltv (e.g. 0.625) — same units the Mystic API returns. */
    lltv: number;
};
export type MysticMarketsByChain = Record<string, MysticMarketInfo[]>;
/**
 * Fetch the Mystic market listing for a single chain in a flat shape suited
 * to the dedicated `update-mystic-markets` job (id + symbols + addresses +
 * lltv). Markets without a stable id are skipped.
 */
export declare function fetchMysticMarkets(chainId: string): Promise<MysticMarketInfo[]>;
/** Fetches all Mystic markets across the supported chains. */
export declare function fetchAllMysticMarkets(): Promise<MysticMarketsByChain>;
export type MysticVaultInfo = {
    address: string;
    underlying: string;
    name: string;
};
export type MysticVaultsByChain = Record<string, MysticVaultInfo[]>;
/**
 * Fetch the Mystic vault listing for a single chain. Returns lowercased
 * vault + underlying addresses and the on-chain vault name. Vaults missing
 * an underlying or address are skipped.
 */
export declare function fetchMysticVaults(chainId: string): Promise<MysticVaultInfo[]>;
/** Fetches all Mystic vaults across the supported chains. */
export declare function fetchAllMysticVaults(): Promise<MysticVaultsByChain>;
//# sourceMappingURL=fetchMysticApi.d.ts.map