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, DeployMethod } from '@aztec/aztec.js/contracts';
import { PublicKeys } from '@aztec/aztec.js/keys';
import type { Wallet } from '@aztec/aztec.js/wallet';
export declare const OptionParamContractArtifact: ContractArtifact;
/**
 * Type-safe interface for contract OptionParam;
 */
export declare class OptionParamContract 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): OptionParamContract;
    /**
     * Creates a tx to deploy a new instance of this contract.
     */
    static deploy(wallet: Wallet): DeployMethod<OptionParamContract>;
    /**
     * Creates a tx to deploy a new instance of this contract using the specified public keys hash to derive the address.
     */
    static deployWithPublicKeys(publicKeys: PublicKeys, wallet: Wallet): DeployMethod<OptionParamContract>;
    /**
     * Creates a tx to deploy a new instance of this contract using the specified constructor method.
     */
    static deployWithOpts<M extends keyof OptionParamContract['methods']>(opts: {
        publicKeys?: PublicKeys;
        method?: M;
        wallet: Wallet;
    }, ...args: Parameters<OptionParamContract['methods'][M]>): DeployMethod<OptionParamContract>;
    /**
     * 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: {
        /** process_message(message_ciphertext: struct, message_context: struct) */
        process_message: ((message_ciphertext: FieldLike[], message_context: {
            tx_hash: FieldLike;
            unique_note_hashes_in_tx: FieldLike[];
            first_nullifier_in_tx: FieldLike;
            recipient: AztecAddressLike;
        }) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** public_dispatch(selector: field) */
        public_dispatch: ((selector: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** return_private_optional_struct(value: struct) */
        return_private_optional_struct: ((value: OptionLike<{
            w: FieldLike;
            x: boolean;
            y: (bigint | number);
            z: (bigint | number);
        }>) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** return_public_optional_struct(value: struct) */
        return_public_optional_struct: ((value: OptionLike<{
            w: FieldLike;
            x: boolean;
            y: (bigint | number);
            z: (bigint | number);
        }>) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** return_utility_optional_struct(value: struct) */
        return_utility_optional_struct: ((value: OptionLike<{
            w: FieldLike;
            x: boolean;
            y: (bigint | number);
            z: (bigint | number);
        }>) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** sync_state() */
        sync_state: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
    };
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiT3B0aW9uUGFyYW0uZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9PcHRpb25QYXJhbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxPQUFPLEVBQUUsWUFBWSxFQUFtQixNQUFNLDJCQUEyQixDQUFDO0FBQzFFLE9BQU8sRUFBZ0IsS0FBSyxnQkFBZ0IsRUFBRSxLQUFLLGdCQUFnQixFQUFxRCxLQUFLLFNBQVMsRUFBNkcsS0FBSyxVQUFVLEVBQXdDLE1BQU0scUJBQXFCLENBQUM7QUFDdFUsT0FBTyxFQUFZLFlBQVksRUFBRSwyQkFBMkIsRUFBRSxLQUFLLGNBQWMsRUFBOEIsWUFBWSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFHL0osT0FBTyxFQUFrQixVQUFVLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNsRSxPQUFPLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUVyRCxlQUFPLE1BQU0sMkJB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