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 ContractStorageLayout, type DeployInstantiationOptions, DeployMethod } from '@aztec/aztec.js/contracts';
import type { Wallet } from '@aztec/aztec.js/wallet';
export declare const UpdatedContractArtifact: ContractArtifact;
/**
 * Type-safe interface for contract Updated;
 */
export declare class UpdatedContract 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): UpdatedContract;
    /**
     * 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<UpdatedContract>;
    /**
     * Creates a tx to deploy a new instance of this contract using the specified constructor method.
     */
    static deployWithOpts<M extends keyof UpdatedContract['methods']>(opts: {
        method?: M;
        wallet: Wallet;
        instantiation?: DeployInstantiationOptions;
    }, ...args: Parameters<UpdatedContract['methods'][M]>): DeployMethod<UpdatedContract>;
    /**
     * 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'>;
        /** 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'>;
        /** set_private_value() */
        set_private_value: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** set_public_value() */
        set_public_value: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** sync_state(scope: struct) */
        sync_state: ((scope: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
    };
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVXBkYXRlZC5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL1VwZGF0ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsT0FBTyxFQUFFLFlBQVksRUFBbUIsTUFBTSwyQkFBMkIsQ0FBQztBQUMxRSxPQUFPLEVBQWdCLEtBQUssZ0JBQWdCLEVBQUUsS0FBSyxnQkFBZ0IsRUFBcUQsS0FBSyxTQUFTLEVBQTZHLEtBQUssVUFBVSxFQUF3QyxNQUFNLHFCQUFxQixDQUFDO0FBQ3RVLE9BQU8sRUFBWSxZQUFZLEVBQUUsMkJBQTJCLEVBQUUsS0FBSyxjQUFjLEVBQUUsS0FBSyxxQkFBcUIsRUFBRSxLQUFLLDBCQUEwQixFQUFFLFlBQVksRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBSWhNLE9BQU8sS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBRXJELGVBQU8sTUFBTSx1QkFBdUIsa0JBQTRFLENBQUM7QUFJakg7O0dBRUc7QUFDSCxxQkFBYSxlQUFnQixTQUFRLFlBQVk7S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