import { AztecAddress } from '@aztec/aztec.js/addresses';
import { type AztecAddressLike, type ContractArtifact, type EthAddressLike, type FieldLike, type FunctionSelectorLike, type OptionLike, type WrappedFieldLike } 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 AbiTypesContractArtifact: ContractArtifact;
/**
 * Type-safe interface for contract AbiTypes;
 */
export declare class AbiTypesContract 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): AbiTypesContract;
    /**
     * 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<AbiTypesContract>;
    /**
     * Creates a tx to deploy a new instance of this contract using the specified constructor method.
     */
    static deployWithOpts<M extends keyof AbiTypesContract['methods']>(opts: {
        method?: M;
        wallet: Wallet;
        instantiation?: DeployInstantiationOptions;
    }, ...args: Parameters<AbiTypesContract['methods'][M]>): DeployMethod<AbiTypesContract>;
    /**
     * 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'>;
        /** return_eth_address(addr: struct) */
        return_eth_address: ((addr: EthAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** return_function_selector(selector: struct) */
        return_function_selector: ((selector: FunctionSelectorLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** return_private_parameters(a: boolean, b: field, c: integer, d: integer, e: struct) */
        return_private_parameters: ((a: boolean, b: FieldLike, c: (bigint | number), d: (bigint | number), e: {
            w: FieldLike;
            x: boolean;
            y: (bigint | number);
            z: (bigint | number);
        }) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** return_public_parameters(a: boolean, b: field, c: integer, d: integer, e: struct) */
        return_public_parameters: ((a: boolean, b: FieldLike, c: (bigint | number), d: (bigint | number), e: {
            w: FieldLike;
            x: boolean;
            y: (bigint | number);
            z: (bigint | number);
        }) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** return_utility_parameters(a: boolean, b: field, c: integer, d: integer, e: struct) */
        return_utility_parameters: ((a: boolean, b: FieldLike, c: (bigint | number), d: (bigint | number), e: {
            w: FieldLike;
            x: boolean;
            y: (bigint | number);
            z: (bigint | number);
        }) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** return_wrapped_field(wrapped: struct) */
        return_wrapped_field: ((wrapped: WrappedFieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** sync_state(scope: struct) */
        sync_state: ((scope: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
    };
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWJpVHlwZXMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9BYmlUeXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxPQUFPLEVBQUUsWUFBWSxFQUFtQixNQUFNLDJCQUEyQixDQUFDO0FBQzFFLE9B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