import type { IcrcLedgerDid } from "../../../declarations";
import type { IcrcAccount } from "../types/ledger.responses";
/**
 * Converts a Candid Account object to an IcrcAccount, effectively transforming nullable properties into nullish ones.
 *
 * @param {Account} - The Candid Account object to convert.
 * @return {IcrcAccount} - The converted IcrcAccount object.
 */
export declare const fromCandidAccount: ({ owner, subaccount: nullableSubaccount, }: IcrcLedgerDid.Account) => IcrcAccount;
/**
 * Converts an IcrcAccount to a Candid Account object, effectively transforming nullish properties into nullable ones.
 *
 * @param {IcrcAccount} - The IcrcAccount object to convert.
 * @return {Account} - The converted Candid Account object.
 */
export declare const toCandidAccount: ({ owner, subaccount, }: IcrcAccount) => IcrcLedgerDid.Account;
