/**
 * 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 IAccountSignerMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
import { TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS } from '../programs';
export declare const UNLINK_TOKEN_PAIR_DISCRIMINATOR: Uint8Array;
export declare function getUnlinkTokenPairDiscriminatorBytes(): ReadonlyUint8Array;
export type UnlinkTokenPairInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS, TAccountPayee extends string | IAccountMeta<string> = string, TAccountTokenController extends string | IAccountMeta<string> = string, TAccountTokenMinter extends string | IAccountMeta<string> = string, TAccountTokenPair extends string | IAccountMeta<string> = string, TAccountEventAuthority extends string | IAccountMeta<string> = string, TAccountProgram extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountPayee extends string ? WritableSignerAccount<TAccountPayee> & IAccountSignerMeta<TAccountPayee> : TAccountPayee,
    TAccountTokenController extends string ? ReadonlySignerAccount<TAccountTokenController> & IAccountSignerMeta<TAccountTokenController> : TAccountTokenController,
    TAccountTokenMinter extends string ? ReadonlyAccount<TAccountTokenMinter> : TAccountTokenMinter,
    TAccountTokenPair extends string ? WritableAccount<TAccountTokenPair> : TAccountTokenPair,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type UnlinkTokenPairInstructionData = {
    discriminator: ReadonlyUint8Array;
};
export type UnlinkTokenPairInstructionDataArgs = {};
export declare function getUnlinkTokenPairInstructionDataEncoder(): Encoder<UnlinkTokenPairInstructionDataArgs>;
export declare function getUnlinkTokenPairInstructionDataDecoder(): Decoder<UnlinkTokenPairInstructionData>;
export declare function getUnlinkTokenPairInstructionDataCodec(): Codec<UnlinkTokenPairInstructionDataArgs, UnlinkTokenPairInstructionData>;
export type UnlinkTokenPairAsyncInput<TAccountPayee extends string = string, TAccountTokenController extends string = string, TAccountTokenMinter extends string = string, TAccountTokenPair extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payee: TransactionSigner<TAccountPayee>;
    tokenController: TransactionSigner<TAccountTokenController>;
    tokenMinter: Address<TAccountTokenMinter>;
    tokenPair: Address<TAccountTokenPair>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
};
export declare function getUnlinkTokenPairInstructionAsync<TAccountPayee extends string, TAccountTokenController extends string, TAccountTokenMinter extends string, TAccountTokenPair extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: UnlinkTokenPairAsyncInput<TAccountPayee, TAccountTokenController, TAccountTokenMinter, TAccountTokenPair, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<UnlinkTokenPairInstruction<TProgramAddress, TAccountPayee, TAccountTokenController, TAccountTokenMinter, TAccountTokenPair, TAccountEventAuthority, TAccountProgram>>;
export type UnlinkTokenPairInput<TAccountPayee extends string = string, TAccountTokenController extends string = string, TAccountTokenMinter extends string = string, TAccountTokenPair extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payee: TransactionSigner<TAccountPayee>;
    tokenController: TransactionSigner<TAccountTokenController>;
    tokenMinter: Address<TAccountTokenMinter>;
    tokenPair: Address<TAccountTokenPair>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
};
export declare function getUnlinkTokenPairInstruction<TAccountPayee extends string, TAccountTokenController extends string, TAccountTokenMinter extends string, TAccountTokenPair extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: UnlinkTokenPairInput<TAccountPayee, TAccountTokenController, TAccountTokenMinter, TAccountTokenPair, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): UnlinkTokenPairInstruction<TProgramAddress, TAccountPayee, TAccountTokenController, TAccountTokenMinter, TAccountTokenPair, TAccountEventAuthority, TAccountProgram>;
export type ParsedUnlinkTokenPairInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        payee: TAccountMetas[0];
        tokenController: TAccountMetas[1];
        tokenMinter: TAccountMetas[2];
        tokenPair: TAccountMetas[3];
        eventAuthority: TAccountMetas[4];
        program: TAccountMetas[5];
    };
    data: UnlinkTokenPairInstructionData;
};
export declare function parseUnlinkTokenPairInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedUnlinkTokenPairInstruction<TProgram, TAccountMetas>;
