import { type IFetchAugustOptions } from '../../core'; import type { ICollateralExcessOrDeficit, ICollateralSimulationInput, ICollateralSimulationResults, ICuratorWhitelistStatus, IDiscountFactorLadder, ILoanBookInfo, IOracleClassification, IOtcMarginRequirement, IOtcPositionRead, IRevertReason, ITimelockRequest, ITransparencyAuditLog, ITransparencyFees, ITransparencyGovernancePermissions, ITransparencyGovernanceRoles, ITransparencyHistoricalAllocations, ITransparencyPositions, ITransparencyRatioPoint, ITransparencyTimelocks, IVaultPerformanceFees, IWSSubaccountListItem } from '../../types'; /** * Fetch the global loan-book aggregate (admin-only `GET /dashboard/loans`). */ export declare const fetchDashboardLoans: (augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch every token discount-factor ladder (`GET /risk/discount_factors`). */ export declare const fetchDiscountFactors: (augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch a subaccount's collateral excess/deficit for one token * (`GET /risk/collateral_excess_or_deficit`). */ export declare const fetchCollateralExcessOrDeficit: (params: { subaccount: string; tokenAddress: string; tokenChain: number; targetHealthFactor?: number; }, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Run a collateral simulation (`POST /risk/collateral_simulation`). This is a * pure, read-only simulation — the backend computes required collateral for a * hypothetical loan and changes no state. */ export declare const fetchCollateralSimulation: (body: ICollateralSimulationInput, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch the decoded revert reason(s) for a transaction from the public * `GET /revert_reason` endpoint. No API key required. */ export declare const fetchRevertReason: (txHash: string, chain: number, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch all OTC positions (admin-only `GET /otc/position`). */ export declare const fetchOtcPositions: (augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch OTC margin requirements (admin-only `GET /otc/margin_requirement`), * optionally filtered by counterparty id and/or payer. */ export declare const fetchOtcMarginRequirements: (filters: { otcCounterpartyId?: string; payer?: string; }, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch the subaccounts linked to a vault (curator-or-admin * `GET /curator/vaults/{vault_address}/subaccounts`). */ export declare const fetchCuratorVaultSubaccounts: (vaultAddress: string, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch on-chain whitelist status for a vault's subaccounts (curator-or-admin * `GET /curator/vaults/{vault_address}/whitelist`). EVM vaults only — the * backend 400s for non-EVM vaults. */ export declare const fetchCuratorVaultWhitelist: (vaultAddress: string, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch timelock requests for a vault on a chain (`GET /timelock-requests`), * optionally filtered by status. */ export declare const fetchTimelockRequests: (params: { vaultAddress: string; chainId: number; status?: string; }, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch a vault's performance-fee computation * (`GET /metrics/vault_performance_fees`). Slow first call (pandas over full * snapshot history); 20-minute server-side cache. */ export declare const fetchVaultPerformanceFees: (params: { vaultAddress: string; annualizedFeesPct: number; nativeDenominated: boolean; calculationPeriod: string; startDate?: string; endDate?: string; }, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch a vault's NAV-oracle classification table from the public * `GET /upshift/oracle_classification/{vault_address}` endpoint. No API key * required. */ export declare const fetchVaultOracleClassification: (vaultAddress: string, chainId: number, headers?: IFetchAugustOptions["headers"]) => Promise; /** Public `GET /upshift/positions/{vault}` — latest per-wallet position snapshot. */ export declare const fetchTransparencyPositions: (vaultAddress: string, chainId: number, headers?: IFetchAugustOptions["headers"]) => Promise; /** Public `GET /upshift/historical_allocations/{vault}` — daily per-protocol allocation history. */ export declare const fetchTransparencyHistoricalAllocations: (vaultAddress: string, chainId: number, startDate?: string, endDate?: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** Public `GET /upshift/fees/{vault}` — vault fee configuration. */ export declare const fetchTransparencyFees: (vaultAddress: string, chainId: number, headers?: IFetchAugustOptions["headers"]) => Promise; /** Public `GET /upshift/unrealized_pnl?fields=ratio` — hourly backing / supply / collateral-ratio series. */ export declare const fetchTransparencyRatioSeries: (vaultAddress: string, startDate?: string, endDate?: string, limit?: number, headers?: IFetchAugustOptions["headers"]) => Promise; /** Public `GET /upshift/historical_apy/chart` — smoothed rolling-APY series; returns the raw backend envelope. */ export declare const fetchTransparencySmoothedApy: (vaultAddress: string, daysAgo: number, averagingPeriodDays: number, applySmoothing: boolean, headers?: IFetchAugustOptions["headers"]) => Promise<{ data: { labels: string[]; values: number[]; }; average_apy?: number | null; status: number; error?: string | null; }>; /** Public `GET /upshift/governance/{vault}/roles` — owner/operator addresses with custody enrichment. */ export declare const fetchTransparencyGovernanceRoles: (vaultAddress: string, chainId: number, headers?: IFetchAugustOptions["headers"]) => Promise; /** Public `GET /upshift/governance/{vault}/permissions` — whitelisted integrations per vault wallet. */ export declare const fetchTransparencyGovernancePermissions: (vaultAddress: string, chainId: number, headers?: IFetchAugustOptions["headers"]) => Promise; /** Public `GET /upshift/governance/{vault}/timelocks` — timelock queue, default pending only. */ export declare const fetchTransparencyGovernanceTimelocks: (vaultAddress: string, chainId: number, status?: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** Public `GET /upshift/governance/{vault}/audit_log` — one page of the governance audit log. */ export declare const fetchTransparencyGovernanceAuditLog: (vaultAddress: string, chainId: number, category?: string, before?: string, limit?: number, headers?: IFetchAugustOptions["headers"]) => Promise;