/**
 * 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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
import { TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS } from '../programs';
export declare const REMOVE_REMOTE_TOKEN_MESSENGER_DISCRIMINATOR: Uint8Array;
export declare function getRemoveRemoteTokenMessengerDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type RemoveRemoteTokenMessengerInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS, TAccountPayee extends string | AccountMeta<string> = string, TAccountOwner extends string | AccountMeta<string> = string, TAccountTokenMessenger extends string | AccountMeta<string> = string, TAccountRemoteTokenMessenger 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<[
    TAccountPayee extends string ? WritableSignerAccount<TAccountPayee> & AccountSignerMeta<TAccountPayee> : TAccountPayee,
    TAccountOwner extends string ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner> : TAccountOwner,
    TAccountTokenMessenger extends string ? ReadonlyAccount<TAccountTokenMessenger> : TAccountTokenMessenger,
    TAccountRemoteTokenMessenger extends string ? WritableAccount<TAccountRemoteTokenMessenger> : TAccountRemoteTokenMessenger,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type RemoveRemoteTokenMessengerInstructionData = {
    discriminator: ReadonlyUint8Array;
};
export type RemoveRemoteTokenMessengerInstructionDataArgs = {};
export declare function getRemoveRemoteTokenMessengerInstructionDataEncoder(): Encoder<RemoveRemoteTokenMessengerInstructionDataArgs>;
export declare function getRemoveRemoteTokenMessengerInstructionDataDecoder(): Decoder<RemoveRemoteTokenMessengerInstructionData>;
export declare function getRemoveRemoteTokenMessengerInstructionDataCodec(): Codec<RemoveRemoteTokenMessengerInstructionDataArgs, RemoveRemoteTokenMessengerInstructionData>;
export type RemoveRemoteTokenMessengerInput<TAccountPayee extends string = string, TAccountOwner extends string = string, TAccountTokenMessenger extends string = string, TAccountRemoteTokenMessenger extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payee: TransactionSigner<TAccountPayee>;
    owner: TransactionSigner<TAccountOwner>;
    tokenMessenger: Address<TAccountTokenMessenger>;
    remoteTokenMessenger: Address<TAccountRemoteTokenMessenger>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
};
export declare function getRemoveRemoteTokenMessengerInstruction<TAccountPayee extends string, TAccountOwner extends string, TAccountTokenMessenger extends string, TAccountRemoteTokenMessenger extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS>(input: RemoveRemoteTokenMessengerInput<TAccountPayee, TAccountOwner, TAccountTokenMessenger, TAccountRemoteTokenMessenger, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): RemoveRemoteTokenMessengerInstruction<TProgramAddress, TAccountPayee, TAccountOwner, TAccountTokenMessenger, TAccountRemoteTokenMessenger, TAccountEventAuthority, TAccountProgram>;
export type ParsedRemoveRemoteTokenMessengerInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        payee: TAccountMetas[0];
        owner: TAccountMetas[1];
        tokenMessenger: TAccountMetas[2];
        remoteTokenMessenger: TAccountMetas[3];
        eventAuthority: TAccountMetas[4];
        program: TAccountMetas[5];
    };
    data: RemoveRemoteTokenMessengerInstructionData;
};
export declare function parseRemoveRemoteTokenMessengerInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRemoveRemoteTokenMessengerInstruction<TProgram, TAccountMetas>;
