import { AztecAddress } from '@aztec/aztec.js/addresses';
import { type AbiType, type AztecAddressLike, type ContractArtifact, EventSelector, type FieldLike } 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 OffchainEffectContractArtifact: ContractArtifact;
export type TestEvent = {
    a: (bigint | number);
    b: (bigint | number);
    c: (bigint | number);
};
/**
 * Type-safe interface for contract OffchainEffect;
 */
export declare class OffchainEffectContract 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): OffchainEffectContract;
    /**
     * Creates a tx to deploy a new instance of this contract.
     */
    static deploy(wallet: Wallet): DeployMethod<OffchainEffectContract>;
    /**
     * 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<OffchainEffectContract>;
    /**
     * Creates a tx to deploy a new instance of this contract using the specified constructor method.
     */
    static deployWithOpts<M extends keyof OffchainEffectContract['methods']>(opts: {
        publicKeys?: PublicKeys;
        method?: M;
        wallet: Wallet;
    }, ...args: Parameters<OffchainEffectContract['methods'][M]>): DeployMethod<OffchainEffectContract>;
    /**
     * 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<'balances'>;
    /** Type-safe wrappers for the public methods exposed by the contract. */
    methods: {
        /** emit_event_as_offchain_message_for_msg_sender(a: integer, b: integer, c: integer) */
        emit_event_as_offchain_message_for_msg_sender: ((a: (bigint | number), b: (bigint | number), c: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** emit_note_as_offchain_message(value: integer, owner: struct) */
        emit_note_as_offchain_message: ((value: (bigint | number), owner: AztecAddressLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** emit_offchain_effects(effects: struct) */
        emit_offchain_effects: ((effects: {
            data: FieldLike[];
            next_contract: AztecAddressLike;
        }[]) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** emitting_offchain_effect_from_utility_reverts() */
        emitting_offchain_effect_from_utility_reverts: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** get_note_value(owner: struct) */
        get_note_value: ((owner: AztecAddressLike) => 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'>;
        /** sync_state() */
        sync_state: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
    };
    static get events(): {
        TestEvent: {
            abiType: AbiType;
            eventSelector: EventSelector;
            fieldNames: string[];
        };
    };
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiT2ZmY2hhaW5FZmZlY3QuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9PZmZjaGFpbkVmZmVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxPQUFPLEVBQUUsWUFBWSxFQUFtQixNQUFNLDJCQUEyQixDQUFDO0FBQzFFLE9BQU8sRUFBRSxLQUFLLE9BQU8sRUFBRSxLQUFLLGdCQUFnQixFQUFFLEtBQUssZ0JBQWdCLEVBQUUsYUFBYSxF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