import { AztecAddress } from '@aztec/aztec.js/addresses';
import { type AztecAddressLike, type ContractArtifact, type FieldLike, type OptionLike } from '@aztec/aztec.js/abi';
import { ContractBase, ContractFunctionInteraction, type ContractMethod, type ContractStorageLayout, type DeployInstantiationOptions, DeployMethod } from '@aztec/aztec.js/contracts';
import type { Wallet } from '@aztec/aztec.js/wallet';
export declare const VaultContractArtifact: ContractArtifact;
/**
 * Type-safe interface for contract Vault;
 */
export declare class VaultContract extends ContractBase {
    private constructor();
    /**
     * Creates a contract instance.
     * @param address - The deployed contract's address.
     * @param wallet - The wallet to use when interacting with the contract.
     * @returns A new Contract instance.
     */
    static at(address: AztecAddress, wallet: Wallet): VaultContract;
    /**
     * Creates a tx to deploy a new instance of this contract.
     * @param instantiation - Optional address-affecting parameters (salt, deployer / universalDeploy, publicKeys).
     *                       Salt defaults to a random value; the deployer is locked lazily from the first send-time `from`.
     */
    static deploy(wallet: Wallet, asset: AztecAddressLike, vault_offset: (bigint | number), instantiation?: DeployInstantiationOptions): DeployMethod<VaultContract>;
    /**
     * Creates a tx to deploy a new instance of this contract using the specified constructor method.
     */
    static deployWithOpts<M extends keyof VaultContract['methods']>(opts: {
        method?: M;
        wallet: Wallet;
        instantiation?: DeployInstantiationOptions;
    }, ...args: Parameters<VaultContract['methods'][M]>): DeployMethod<VaultContract>;
    /**
     * Returns this contract's artifact.
     */
    static get artifact(): ContractArtifact;
    /**
     * Returns this contract's artifact with public bytecode.
     */
    static get artifactForPublic(): ContractArtifact;
    static get storage(): ContractStorageLayout<'asset' | 'shares' | 'vault_offset'>;
    /** Type-safe wrappers for the public methods exposed by the contract. */
    methods: {
        /** asset() */
        asset: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** constructor(asset: struct, vault_offset: integer) */
        constructor: ((asset: AztecAddressLike, vault_offset: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** convert_to_assets(shares: integer) */
        convert_to_assets: ((shares: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** convert_to_shares(assets: integer) */
        convert_to_shares: ((assets: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** deposit_private_to_private(from: struct, to: struct, assets: integer, shares: integer, nonce: field) */
        deposit_private_to_private: ((from: AztecAddressLike, to: AztecAddressLike, assets: (bigint | number), shares: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** deposit_private_to_private_exact(from: struct, to: struct, assets: integer, min_shares: integer, nonce: field) */
        deposit_private_to_private_exact: ((from: AztecAddressLike, to: AztecAddressLike, assets: (bigint | number), min_shares: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** deposit_private_to_public(from: struct, to: struct, assets: integer, nonce: field) */
        deposit_private_to_public: ((from: AztecAddressLike, to: AztecAddressLike, assets: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** deposit_public_to_private(from: struct, to: struct, assets: integer, shares: integer, nonce: field) */
        deposit_public_to_private: ((from: AztecAddressLike, to: AztecAddressLike, assets: (bigint | number), shares: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** deposit_public_to_private_exact(from: struct, to: struct, assets: integer, min_shares: integer, nonce: field) */
        deposit_public_to_private_exact: ((from: AztecAddressLike, to: AztecAddressLike, assets: (bigint | number), min_shares: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** deposit_public_to_public(from: struct, to: struct, assets: integer, nonce: field) */
        deposit_public_to_public: ((from: AztecAddressLike, to: AztecAddressLike, assets: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** get_vault_offset() */
        get_vault_offset: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** issue_private_to_private_exact(from: struct, to: struct, shares: integer, max_assets: integer, nonce: field) */
        issue_private_to_private_exact: ((from: AztecAddressLike, to: AztecAddressLike, shares: (bigint | number), max_assets: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** issue_private_to_public_exact(from: struct, to: struct, shares: integer, max_assets: integer, nonce: field) */
        issue_private_to_public_exact: ((from: AztecAddressLike, to: AztecAddressLike, shares: (bigint | number), max_assets: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** issue_public_to_private(from: struct, to: struct, shares: integer, max_assets: integer, nonce: field) */
        issue_public_to_private: ((from: AztecAddressLike, to: AztecAddressLike, shares: (bigint | number), max_assets: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** issue_public_to_public(from: struct, to: struct, shares: integer, max_assets: integer, nonce: field) */
        issue_public_to_public: ((from: AztecAddressLike, to: AztecAddressLike, shares: (bigint | number), max_assets: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** max_deposit(_receiver: struct) */
        max_deposit: ((_receiver: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** max_issue(_receiver: struct) */
        max_issue: ((_receiver: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** max_redeem(owner: struct) */
        max_redeem: ((owner: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** max_withdraw(owner: struct) */
        max_withdraw: ((owner: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** offchain_receive(messages: struct) */
        offchain_receive: ((messages: {
            ciphertext: FieldLike[];
            recipient: AztecAddressLike;
            tx_hash: OptionLike<FieldLike>;
            anchor_block_timestamp: (bigint | number);
        }[]) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** preview_deposit(assets: integer) */
        preview_deposit: ((assets: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** preview_issue(shares: integer) */
        preview_issue: ((shares: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** preview_redeem(shares: integer) */
        preview_redeem: ((shares: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** preview_withdraw(assets: integer) */
        preview_withdraw: ((assets: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** public_dispatch(selector: field) */
        public_dispatch: ((selector: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** redeem_private_to_private_exact(from: struct, to: struct, shares: integer, min_assets: integer, nonce: field) */
        redeem_private_to_private_exact: ((from: AztecAddressLike, to: AztecAddressLike, shares: (bigint | number), min_assets: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** redeem_private_to_public(from: struct, to: struct, shares: integer, nonce: field) */
        redeem_private_to_public: ((from: AztecAddressLike, to: AztecAddressLike, shares: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** redeem_public_to_private_exact(from: struct, to: struct, shares: integer, min_assets: integer, nonce: field) */
        redeem_public_to_private_exact: ((from: AztecAddressLike, to: AztecAddressLike, shares: (bigint | number), min_assets: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** redeem_public_to_public(from: struct, to: struct, shares: integer, nonce: field) */
        redeem_public_to_public: ((from: AztecAddressLike, to: AztecAddressLike, shares: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** set_shares_token(shares: struct) */
        set_shares_token: ((shares: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** set_shares_token_with_initial_deposit(shares: struct, initial_deposit: integer, depositor: struct, nonce: field) */
        set_shares_token_with_initial_deposit: ((shares: AztecAddressLike, initial_deposit: (bigint | number), depositor: AztecAddressLike, nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** shares() */
        shares: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** sync_state(scope: struct) */
        sync_state: ((scope: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** total_assets() */
        total_assets: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** withdraw_private_to_private(from: struct, to: struct, assets: integer, shares: integer, nonce: field) */
        withdraw_private_to_private: ((from: AztecAddressLike, to: AztecAddressLike, assets: (bigint | number), shares: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** withdraw_private_to_private_exact(from: struct, to: struct, assets: integer, max_shares: integer, nonce: field) */
        withdraw_private_to_private_exact: ((from: AztecAddressLike, to: AztecAddressLike, assets: (bigint | number), max_shares: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** withdraw_private_to_public_exact(from: struct, to: struct, assets: integer, max_shares: integer, nonce: field) */
        withdraw_private_to_public_exact: ((from: AztecAddressLike, to: AztecAddressLike, assets: (bigint | number), max_shares: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** withdraw_public_to_private(from: struct, to: struct, assets: integer, nonce: field) */
        withdraw_public_to_private: ((from: AztecAddressLike, to: AztecAddressLike, assets: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** withdraw_public_to_public(from: struct, to: struct, assets: integer, nonce: field) */
        withdraw_public_to_public: ((from: AztecAddressLike, to: AztecAddressLike, assets: (bigint | number), nonce: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
    };
}
