import { Call } from '../../../utils/multicall';
/**
 * Fetches the account numbers an owner has positions in, from the Dolomite
 * subgraph. Memoized 30 s so concurrent build + parse calls share one fetch.
 * Always includes the default account `'0'`. Falls back to `['0']` on any error.
 */
export declare function fetchDolomiteAccountNumbers(chainId: string, owner: string): Promise<string[]>;
/** Synchronous read of the account numbers a prior build resolved. */
export declare function getResolvedDolomiteAccountNumbers(chainId: string, account: string): string[] | undefined;
/**
 * Build user-data calls for Dolomite. One `getAccountBalances` per sub-account
 * (owner, accountNumber). Account numbers come from `accountNumbers` when
 * provided (e.g. simulations / known positions), else the subgraph, else `['0']`.
 *
 * NOTE (e-mode / Model B): to make health exact for accounts under a margin-ratio
 * override, add a second `getAccountRiskOverrideByAccount` call per sub-account
 * here and recompute collateral factors per account in the parser. v1 ships the
 * base path (one call/account); the override is a conservative no-op for now.
 */
export declare const buildDolomiteUserCall: (chainId: string, _lender: string, account: string, accountNumbers?: string[]) => Promise<Call[]>;
//# sourceMappingURL=userCallBuild.d.ts.map