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 DeployInstantiationOptions, DeployMethod } from '@aztec/aztec.js/contracts';
import type { Wallet } from '@aztec/aztec.js/wallet';
export declare const EscrowContractArtifact: ContractArtifact;
/**
 * Type-safe interface for contract Escrow;
 */
export declare class EscrowContract 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): EscrowContract;
    /**
     * 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, instantiation?: DeployInstantiationOptions): DeployMethod<EscrowContract>;
    /**
     * Creates a tx to deploy a new instance of this contract using the specified constructor method.
     */
    static deployWithOpts<M extends keyof EscrowContract['methods']>(opts: {
        method?: M;
        wallet: Wallet;
        instantiation?: DeployInstantiationOptions;
    }, ...args: Parameters<EscrowContract['methods'][M]>): DeployMethod<EscrowContract>;
    /**
     * Returns this contract's artifact.
     */
    static get artifact(): ContractArtifact;
    /**
     * Returns this contract's artifact with public bytecode.
     */
    static get artifactForPublic(): ContractArtifact;
    /** Type-safe wrappers for the public methods exposed by the contract. */
    methods: {
        /** offchain_receive(messages: struct) */
        offchain_receive: ((messages: {
            ciphertext: FieldLike[];
            recipient: AztecAddressLike;
            tx_hash: OptionLike<FieldLike>;
            anchor_block_timestamp: (bigint | number);
        }[]) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** public_dispatch(selector: field) */
        public_dispatch: ((selector: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** sync_state(scope: struct) */
        sync_state: ((scope: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** withdraw(token: struct, amount: integer, recipient: struct) */
        withdraw: ((token: AztecAddressLike, amount: (bigint | number), recipient: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** withdraw_nft(nft: struct, token_id: field, recipient: struct) */
        withdraw_nft: ((nft: AztecAddressLike, token_id: FieldLike, recipient: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
    };
}
