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 TestLogContractArtifact: ContractArtifact;
export type ExampleNestedEvent = {
    nested: {
        a: FieldLike;
        b: FieldLike;
        c: AztecAddressLike;
    };
    extra_value: FieldLike;
};
export type ExampleEvent1 = {
    value2: AztecAddressLike;
    value3: (bigint | number);
};
export type ExampleEvent0 = {
    value0: FieldLike;
    value1: FieldLike;
};
/**
 * Type-safe interface for contract TestLog;
 */
export declare class TestLogContract 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): TestLogContract;
    /**
     * Creates a tx to deploy a new instance of this contract.
     */
    static deploy(wallet: Wallet): DeployMethod<TestLogContract>;
    /**
     * 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<TestLogContract>;
    /**
     * Creates a tx to deploy a new instance of this contract using the specified constructor method.
     */
    static deployWithOpts<M extends keyof TestLogContract['methods']>(opts: {
        publicKeys?: PublicKeys;
        method?: M;
        wallet: Wallet;
    }, ...args: Parameters<TestLogContract['methods'][M]>): DeployMethod<TestLogContract>;
    /**
     * 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<'example_set'>;
    /** Type-safe wrappers for the public methods exposed by the contract. */
    methods: {
        /** emit_encrypted_events(other: struct, preimages: array) */
        emit_encrypted_events: ((other: AztecAddressLike, preimages: FieldLike[]) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** emit_encrypted_events_nested(other: struct, num_nested_calls: integer) */
        emit_encrypted_events_nested: ((other: AztecAddressLike, num_nested_calls: (bigint | number)) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** emit_nested_event(a: field, b: field, c: struct, extra: field) */
        emit_nested_event: ((a: FieldLike, b: FieldLike, c: AztecAddressLike, extra: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
        /** emit_unencrypted_events(preimages: array) */
        emit_unencrypted_events: ((preimages: 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'>;
        /** sync_state() */
        sync_state: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
    };
    static get events(): {
        ExampleNestedEvent: {
            abiType: AbiType;
            eventSelector: EventSelector;
            fieldNames: string[];
        };
        ExampleEvent1: {
            abiType: AbiType;
            eventSelector: EventSelector;
            fieldNames: string[];
        };
        ExampleEvent0: {
            abiType: AbiType;
            eventSelector: EventSelector;
            fieldNames: string[];
        };
    };
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVGVzdExvZy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL1Rlc3RMb2cudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsT0FBTyxFQUFFLFlBQVksRUFBbUIsTUFBTSwyQkFBMkIsQ0FBQztBQUMxRSxPQU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