import type { AccountInstance, WalletInstance } from '@xyo-network/sdk'; /** * Parameters for {@link useAccount}. * @public */ export interface AccountHookParams { account?: AccountInstance; index?: number; required?: boolean; wallet?: WalletInstance; } /** * Resolves an account from an explicit account, wallet path, or active wallet context. * @param params - Optional account, wallet, index, and required flags. * @returns The resolved account (or null when context is empty) and any error. * @public */ export declare const useAccount: ({ wallet, account, index, required, }?: AccountHookParams) => [AccountInstance | null | undefined, Error | undefined]; //# sourceMappingURL=useAccount.d.ts.map