/**
 * 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 LINK_TOKEN_PAIR_DISCRIMINATOR: Uint8Array;
export declare function getLinkTokenPairDiscriminatorBytes(): ReadonlyUint8Array;
export type LinkTokenPairInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS, TAccountPayer extends string | IAccountMeta<string> = string, TAccountTokenController extends string | IAccountMeta<string> = string, TAccountTokenMinter extends string | IAccountMeta<string> = string, TAccountTokenPair extends string | IAccountMeta<string> = string, TAccountSystemProgram extends string | IAccountMeta<string> = '11111111111111111111111111111111', TAccountEventAuthority extends string | IAccountMeta<string> = string, TAccountProgram extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & IAccountSignerMeta<TAccountPayer> : TAccountPayer,
    TAccountTokenController extends string ? ReadonlySignerAccount<TAccountTokenController> & IAccountSignerMeta<TAccountTokenController> : TAccountTokenController,
    TAccountTokenMinter extends string ? ReadonlyAccount<TAccountTokenMinter> : TAccountTokenMinter,
    TAccountTokenPair extends string ? WritableAccount<TAccountTokenPair> : TAccountTokenPair,
    TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type LinkTokenPairInstructionData = {
    discriminator: ReadonlyUint8Array;
    localToken: Address;
    remoteDomain: number;
    remoteToken: Address;
};
export type LinkTokenPairInstructionDataArgs = {
    localToken: Address;
    remoteDomain: number;
    remoteToken: Address;
};
export declare function getLinkTokenPairInstructionDataEncoder(): Encoder<LinkTokenPairInstructionDataArgs>;
export declare function getLinkTokenPairInstructionDataDecoder(): Decoder<LinkTokenPairInstructionData>;
export declare function getLinkTokenPairInstructionDataCodec(): Codec<LinkTokenPairInstructionDataArgs, LinkTokenPairInstructionData>;
export type LinkTokenPairAsyncInput<TAccountPayer extends string = string, TAccountTokenController extends string = string, TAccountTokenMinter extends string = string, TAccountTokenPair extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payer: TransactionSigner<TAccountPayer>;
    tokenController: TransactionSigner<TAccountTokenController>;
    tokenMinter: Address<TAccountTokenMinter>;
    tokenPair: Address<TAccountTokenPair>;
    systemProgram?: Address<TAccountSystemProgram>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    localToken: LinkTokenPairInstructionDataArgs['localToken'];
    remoteDomain: LinkTokenPairInstructionDataArgs['remoteDomain'];
    remoteToken: LinkTokenPairInstructionDataArgs['remoteToken'];
};
export declare function getLinkTokenPairInstructionAsync<TAccountPayer extends string, TAccountTokenController extends string, TAccountTokenMinter extends string, TAccountTokenPair extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: LinkTokenPairAsyncInput<TAccountPayer, TAccountTokenController, TAccountTokenMinter, TAccountTokenPair, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<LinkTokenPairInstruction<TProgramAddress, TAccountPayer, TAccountTokenController, TAccountTokenMinter, TAccountTokenPair, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>>;
export type LinkTokenPairInput<TAccountPayer extends string = string, TAccountTokenController extends string = string, TAccountTokenMinter extends string = string, TAccountTokenPair extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payer: TransactionSigner<TAccountPayer>;
    tokenController: TransactionSigner<TAccountTokenController>;
    tokenMinter: Address<TAccountTokenMinter>;
    tokenPair: Address<TAccountTokenPair>;
    systemProgram?: Address<TAccountSystemProgram>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    localToken: LinkTokenPairInstructionDataArgs['localToken'];
    remoteDomain: LinkTokenPairInstructionDataArgs['remoteDomain'];
    remoteToken: LinkTokenPairInstructionDataArgs['remoteToken'];
};
export declare function getLinkTokenPairInstruction<TAccountPayer extends string, TAccountTokenController extends string, TAccountTokenMinter extends string, TAccountTokenPair extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: LinkTokenPairInput<TAccountPayer, TAccountTokenController, TAccountTokenMinter, TAccountTokenPair, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): LinkTokenPairInstruction<TProgramAddress, TAccountPayer, TAccountTokenController, TAccountTokenMinter, TAccountTokenPair, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>;
export type ParsedLinkTokenPairInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        payer: TAccountMetas[0];
        tokenController: TAccountMetas[1];
        tokenMinter: TAccountMetas[2];
        tokenPair: TAccountMetas[3];
        systemProgram: TAccountMetas[4];
        eventAuthority: TAccountMetas[5];
        program: TAccountMetas[6];
    };
    data: LinkTokenPairInstructionData;
};
export declare function parseLinkTokenPairInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedLinkTokenPairInstruction<TProgram, TAccountMetas>;
