import type { GauntletClient } from '../client'; /** * The Gaia API identifies vaults as `"{chainId}:{address}"` with a lowercase * address (a CAIP-10-style account id without the `eip155` namespace prefix). */ export interface ApiVaultId { chainId: number; /** Lowercase EVM address. */ address: string; } export declare function parseApiVaultId(id: string): ApiVaultId; export declare function formatApiVaultId(chainId: number, address: string): string; /** * Resolves a manifest vault id (e.g. `VaultId.AeraUsdAlpha` / `'gtusda'`) to * the Gaia API's CAIP-10 id for the vault's deployment on `chainId`. * * Deployment resolution is `resolveVault` — the same rules tx-building uses: * single-deployment vaults resolve directly (a mismatched explicit `chainId` * throws `ChainMismatchError`), multi-chain vaults default to Base when * `chainId` is omitted. */ export declare function apiVaultIdFromVaultId(client: GauntletClient, vaultId: string, chainId?: number): Promise; /** * Resolves a Gaia API CAIP-10 vault id back to the manifest vault id, or * `undefined` when the vault is not in the bundled manifest (the API indexes * more vaults than the manifest lists). */ export declare function vaultIdFromApiVaultId(client: GauntletClient, apiVaultId: string): Promise; //# sourceMappingURL=caip.d.ts.map