/// <reference types="node" resolution-mode="require"/>
import { GrumpkinAddress } from '@aztec/barretenberg/address';
import { AztecSdk } from './aztec_sdk.js';
export declare class AztecSdkUser {
    id: GrumpkinAddress;
    private sdk;
    constructor(id: GrumpkinAddress, sdk: AztecSdk);
    isSynching(): Promise<boolean>;
    awaitSynchronised(timeout?: number): Promise<void>;
    getSyncedToRollup(): Promise<number>;
    getSpendingKeys(): Promise<Buffer[]>;
    getBalances(): Promise<{
        assetId: number;
        value: bigint;
    }[]>;
    getBalance(assetId: number): Promise<{
        assetId: number;
        value: bigint;
    }>;
    getSpendableSum(assetId: number, spendingKeyRequired?: boolean, excludePendingNotes?: boolean): Promise<bigint>;
    getSpendableSums(spendingKeyRequired?: boolean, excludePendingNotes?: boolean): Promise<{
        assetId: number;
        value: bigint;
    }[]>;
    getMaxSpendableValue(assetId: number, spendingKeyRequired?: boolean, excludePendingNotes?: boolean, numNotes?: number): Promise<bigint>;
    getTxs(): Promise<(import("../index.js").UserPaymentTx | import("../index.js").UserAccountTx | import("../index.js").UserDefiTx | import("../index.js").UserDefiClaimTx)[]>;
    getPaymentTxs(): Promise<import("../index.js").UserPaymentTx[]>;
    getAccountTxs(): Promise<import("../index.js").UserAccountTx[]>;
    getDefiTxs(): Promise<import("../index.js").UserDefiTx[]>;
    decryptJoinSplitNotes(offchainTxData: Buffer[]): Promise<(import("@aztec/barretenberg/note_algorithms").DecryptedNote | undefined)[]>;
}
//# sourceMappingURL=aztec_sdk_user.d.ts.map