import { AztecAddress } from '@aztec/aztec.js/addresses';
import { type AbiType, type AztecAddressLike, type ContractArtifact, EventSelector, 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 TestLogicContractArtifact: ContractArtifact;
export type EscrowDetailsLogContent = {
    escrow: AztecAddressLike;
    secret_key: FieldLike;
};
/**
 * Type-safe interface for contract TestLogic;
 */
export declare class TestLogicContract 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): TestLogicContract;
    /**
     * 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, escrow_class_id: FieldLike, instantiation?: DeployInstantiationOptions): DeployMethod<TestLogicContract>;
    /**
     * Creates a tx to deploy a new instance of this contract using the specified constructor method.
     */
    static deployWithOpts<M extends keyof TestLogicContract['methods']>(opts: {
        method?: M;
        wallet: Wallet;
        instantiation?: DeployInstantiationOptions;
    }, ...args: Parameters<TestLogicContract['methods'][M]>): DeployMethod<TestLogicContract>;
    /**
     * 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<'escrow_class_id'>;
    /** Type-safe wrappers for the public methods exposed by the contract. */
    methods: {
        /** constructor(escrow_class_id: field) */
        constructor: ((escrow_class_id: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** get_escrow(secret_key: field) */
        get_escrow: ((secret_key: FieldLike) => 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'>;
        /** public_dispatch(selector: field) */
        public_dispatch: ((selector: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** secret_key_to_public_keys(secret_key: field) */
        secret_key_to_public_keys: ((secret_key: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** share_escrow(account: struct, escrow: struct, secret_key: field) */
        share_escrow: ((account: AztecAddressLike, escrow: AztecAddressLike, secret_key: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** sync_state(scope: struct) */
        sync_state: ((scope: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** withdraw(escrow: struct, account: struct, token: struct, amount: integer) */
        withdraw: ((escrow: AztecAddressLike, account: AztecAddressLike, token: AztecAddressLike, amount: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** withdraw_nft(escrow: struct, account: struct, nft: struct, token_id: field) */
        withdraw_nft: ((escrow: AztecAddressLike, account: AztecAddressLike, nft: AztecAddressLike, token_id: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
    };
    static get events(): {
        EscrowDetailsLogContent: {
            abiType: AbiType;
            eventSelector: EventSelector;
            fieldNames: string[];
        };
    };
}
