import { AztecAddress } from '@aztec/aztec.js/addresses';
import { type AztecAddressLike, type ContractArtifact, type FieldLike, type WrappedFieldLike } from '@aztec/aztec.js/abi';
import { ContractBase, ContractFunctionInteraction, type ContractMethod, type ContractStorageLayout, DeployMethod } from '@aztec/aztec.js/contracts';
import { PublicKeys } from '@aztec/aztec.js/keys';
import type { Wallet } from '@aztec/aztec.js/wallet';
export declare const UpdatableContractArtifact: ContractArtifact;
/**
 * Type-safe interface for contract Updatable;
 */
export declare class UpdatableContract 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): UpdatableContract;
    /**
     * Creates a tx to deploy a new instance of this contract.
     */
    static deploy(wallet: Wallet, initial_value: FieldLike): DeployMethod<UpdatableContract>;
    /**
     * 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, initial_value: FieldLike): DeployMethod<UpdatableContract>;
    /**
     * Creates a tx to deploy a new instance of this contract using the specified constructor method.
     */
    static deployWithOpts<M extends keyof UpdatableContract['methods']>(opts: {
        publicKeys?: PublicKeys;
        method?: M;
        wallet: Wallet;
    }, ...args: Parameters<UpdatableContract['methods'][M]>): DeployMethod<UpdatableContract>;
    /**
     * 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<'private_value' | 'public_value'>;
    /** Type-safe wrappers for the public methods exposed by the contract. */
    methods: {
        /** get_private_value(owner: struct) */
        get_private_value: ((owner: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** get_public_value() */
        get_public_value: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** get_update_delay() */
        get_update_delay: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** initialize(initial_value: field) */
        initialize: ((initial_value: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** 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'>;
        /** set_public_value(new_value: field) */
        set_public_value: ((new_value: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** set_update_delay(new_delay: integer) */
        set_update_delay: ((new_delay: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** sync_state() */
        sync_state: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** update_to(new_class_id: struct) */
        update_to: ((new_class_id: WrappedFieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
    };
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVXBkYXRhYmxlLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvVXBkYXRhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBLE9BQU8sRUFBRSxZQUFZLEVBQW1CLE1BQU0sMkJBQTJCLENBQUM7QUFDMUUsT0FBTyxFQUFnQixLQUFLLGdCQUFnQixFQUFFLEtBQUssZ0JBQWdCLEVBQXFELEtBQUssU0FBUyxFQUE2SSxLQUFLLGdCQUFnQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDdFUsT0FBTyxFQUFZLFlBQVksRUFBRSwyQkFBMkIsRUFBRSxLQUFLLGNBQWMsRUFBRSxLQUFLLHFCQUFxQixFQUFFL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