import type { IAddress, IWSMonitorHeaders } from '../../types'; import type { IOctavfiPortfolio } from './types'; /** * Response of the August API's vault-level Octav endpoint. * * Keys are the vault's Solana operator addresses (case-sensitive base58). * Values are the operator's raw Octav portfolio, or an `{ error }` object when * the backend holds no usable portfolio for that operator. */ export type IVaultOctavResponse = Record; /** * Fetch the Octav portfolios of every Solana operator of a vault in a single * request to the August public API. * * The API serves these from a cache that a backend cron refreshes, so this * function never calls Octav and needs no Octav credentials. It makes exactly * one HTTP request per call and never throws. * * @param vaultAddress - Vault address: EVM hex or Solana base58. * @param headers - Optional monitoring headers forwarded with the request. * @returns Dictionary of operator address to portfolio or error on a 200 or * 207 (partial success) response; `false` on any other status or when the * request fails. * * @example * ```ts * const response = await fetchVaultOctavResponse(vaultAddress); * const portfolio = response ? response[borrower] : undefined; * ``` */ export declare function fetchVaultOctavResponse(vaultAddress: IAddress, headers?: IWSMonitorHeaders): Promise;