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 { TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS } from "../programs";
export declare const SET_TOKEN_CONTROLLER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getSetTokenControllerDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type SetTokenControllerInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = string, TAccountTokenMessenger extends string | AccountMeta<string> = string, TAccountTokenMinter 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,
    TAccountTokenMessenger extends string ? ReadonlyAccount<TAccountTokenMessenger> : TAccountTokenMessenger,
    TAccountTokenMinter extends string ? WritableAccount<TAccountTokenMinter> : TAccountTokenMinter,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type SetTokenControllerInstructionData = {
    discriminator: ReadonlyUint8Array;
    tokenController: Address;
};
export type SetTokenControllerInstructionDataArgs = {
    tokenController: Address;
};
export declare function getSetTokenControllerInstructionDataEncoder(): FixedSizeEncoder<SetTokenControllerInstructionDataArgs>;
export declare function getSetTokenControllerInstructionDataDecoder(): FixedSizeDecoder<SetTokenControllerInstructionData>;
export declare function getSetTokenControllerInstructionDataCodec(): FixedSizeCodec<SetTokenControllerInstructionDataArgs, SetTokenControllerInstructionData>;
export type SetTokenControllerInput<TAccountOwner extends string = string, TAccountTokenMessenger extends string = string, TAccountTokenMinter extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    owner: TransactionSigner<TAccountOwner>;
    tokenMessenger: Address<TAccountTokenMessenger>;
    tokenMinter: Address<TAccountTokenMinter>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    tokenController: SetTokenControllerInstructionDataArgs["tokenController"];
};
export declare function getSetTokenControllerInstruction<TAccountOwner extends string, TAccountTokenMessenger extends string, TAccountTokenMinter extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS>(input: SetTokenControllerInput<TAccountOwner, TAccountTokenMessenger, TAccountTokenMinter, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): SetTokenControllerInstruction<TProgramAddress, TAccountOwner, TAccountTokenMessenger, TAccountTokenMinter, TAccountEventAuthority, TAccountProgram>;
export type ParsedSetTokenControllerInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        owner: TAccountMetas[0];
        tokenMessenger: TAccountMetas[1];
        tokenMinter: TAccountMetas[2];
        eventAuthority: TAccountMetas[3];
        program: TAccountMetas[4];
    };
    data: SetTokenControllerInstructionData;
};
export declare function parseSetTokenControllerInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetTokenControllerInstruction<TProgram, TAccountMetas>;
