/**
 * This code was AUTOGENERATED using the codama library.
 * Please DO NOT EDIT THIS FILE, instead use visitors
 * to add features, then rerun codama to update it.
 *
 * @see https://github.com/codama-idl/codama
 */
import { type Address, type Codec, type Decoder, type Encoder, type IAccountMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type ReadonlyUint8Array } from '@solana/web3-v2.js';
import { MULTICALL_HANDLER_PROGRAM_ADDRESS } from '../programs';
export declare const HANDLE_V3_ACROSS_MESSAGE_DISCRIMINATOR: Uint8Array;
export declare function getHandleV3AcrossMessageDiscriminatorBytes(): ReadonlyUint8Array;
export type HandleV3AcrossMessageInstruction<TProgram extends string = typeof MULTICALL_HANDLER_PROGRAM_ADDRESS, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<TRemainingAccounts>;
export type HandleV3AcrossMessageInstructionData = {
    discriminator: ReadonlyUint8Array;
    message: ReadonlyUint8Array;
};
export type HandleV3AcrossMessageInstructionDataArgs = {
    message: ReadonlyUint8Array;
};
export declare function getHandleV3AcrossMessageInstructionDataEncoder(): Encoder<HandleV3AcrossMessageInstructionDataArgs>;
export declare function getHandleV3AcrossMessageInstructionDataDecoder(): Decoder<HandleV3AcrossMessageInstructionData>;
export declare function getHandleV3AcrossMessageInstructionDataCodec(): Codec<HandleV3AcrossMessageInstructionDataArgs, HandleV3AcrossMessageInstructionData>;
export type HandleV3AcrossMessageInput = {
    message: HandleV3AcrossMessageInstructionDataArgs['message'];
};
export declare function getHandleV3AcrossMessageInstruction<TProgramAddress extends Address = typeof MULTICALL_HANDLER_PROGRAM_ADDRESS>(input: HandleV3AcrossMessageInput, config?: {
    programAddress?: TProgramAddress;
}): HandleV3AcrossMessageInstruction<TProgramAddress>;
export type ParsedHandleV3AcrossMessageInstruction<TProgram extends string = typeof MULTICALL_HANDLER_PROGRAM_ADDRESS> = {
    programAddress: Address<TProgram>;
    data: HandleV3AcrossMessageInstructionData;
};
export declare function parseHandleV3AcrossMessageInstruction<TProgram extends string>(instruction: IInstruction<TProgram> & IInstructionWithData<Uint8Array>): ParsedHandleV3AcrossMessageInstruction<TProgram>;
