import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from "@solana/kit";
import { MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS } from "../programs";
export declare const SET_MAX_MESSAGE_BODY_SIZE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getSetMaxMessageBodySizeDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type SetMaxMessageBodySizeInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = string, TAccountMessageTransmitter extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
    TAccountOwner extends string ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner> : TAccountOwner,
    TAccountMessageTransmitter extends string ? WritableAccount<TAccountMessageTransmitter> : TAccountMessageTransmitter,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type SetMaxMessageBodySizeInstructionData = {
    discriminator: ReadonlyUint8Array;
    newMaxMessageBodySize: bigint;
};
export type SetMaxMessageBodySizeInstructionDataArgs = {
    newMaxMessageBodySize: number | bigint;
};
export declare function getSetMaxMessageBodySizeInstructionDataEncoder(): FixedSizeEncoder<SetMaxMessageBodySizeInstructionDataArgs>;
export declare function getSetMaxMessageBodySizeInstructionDataDecoder(): FixedSizeDecoder<SetMaxMessageBodySizeInstructionData>;
export declare function getSetMaxMessageBodySizeInstructionDataCodec(): FixedSizeCodec<SetMaxMessageBodySizeInstructionDataArgs, SetMaxMessageBodySizeInstructionData>;
export type SetMaxMessageBodySizeAsyncInput<TAccountOwner extends string = string, TAccountMessageTransmitter extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    owner: TransactionSigner<TAccountOwner>;
    messageTransmitter: Address<TAccountMessageTransmitter>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newMaxMessageBodySize: SetMaxMessageBodySizeInstructionDataArgs["newMaxMessageBodySize"];
};
export declare function getSetMaxMessageBodySizeInstructionAsync<TAccountOwner extends string, TAccountMessageTransmitter extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS>(input: SetMaxMessageBodySizeAsyncInput<TAccountOwner, TAccountMessageTransmitter, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<SetMaxMessageBodySizeInstruction<TProgramAddress, TAccountOwner, TAccountMessageTransmitter, TAccountEventAuthority, TAccountProgram>>;
export type SetMaxMessageBodySizeInput<TAccountOwner extends string = string, TAccountMessageTransmitter extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    owner: TransactionSigner<TAccountOwner>;
    messageTransmitter: Address<TAccountMessageTransmitter>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newMaxMessageBodySize: SetMaxMessageBodySizeInstructionDataArgs["newMaxMessageBodySize"];
};
export declare function getSetMaxMessageBodySizeInstruction<TAccountOwner extends string, TAccountMessageTransmitter extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS>(input: SetMaxMessageBodySizeInput<TAccountOwner, TAccountMessageTransmitter, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): SetMaxMessageBodySizeInstruction<TProgramAddress, TAccountOwner, TAccountMessageTransmitter, TAccountEventAuthority, TAccountProgram>;
export type ParsedSetMaxMessageBodySizeInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        owner: TAccountMetas[0];
        messageTransmitter: TAccountMetas[1];
        eventAuthority: TAccountMetas[2];
        program: TAccountMetas[3];
    };
    data: SetMaxMessageBodySizeInstructionData;
};
export declare function parseSetMaxMessageBodySizeInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetMaxMessageBodySizeInstruction<TProgram, TAccountMetas>;
