/**
 * 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 ADD_LOCAL_TOKEN_DISCRIMINATOR: Uint8Array;
export declare function getAddLocalTokenDiscriminatorBytes(): ReadonlyUint8Array;
export type AddLocalTokenInstruction<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, TAccountLocalToken extends string | IAccountMeta<string> = string, TAccountCustodyTokenAccount extends string | IAccountMeta<string> = string, TAccountLocalTokenMint extends string | IAccountMeta<string> = string, TAccountTokenProgram extends string | IAccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', 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,
    TAccountLocalToken extends string ? WritableAccount<TAccountLocalToken> : TAccountLocalToken,
    TAccountCustodyTokenAccount extends string ? WritableAccount<TAccountCustodyTokenAccount> : TAccountCustodyTokenAccount,
    TAccountLocalTokenMint extends string ? ReadonlyAccount<TAccountLocalTokenMint> : TAccountLocalTokenMint,
    TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
    TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type AddLocalTokenInstructionData = {
    discriminator: ReadonlyUint8Array;
};
export type AddLocalTokenInstructionDataArgs = {};
export declare function getAddLocalTokenInstructionDataEncoder(): Encoder<AddLocalTokenInstructionDataArgs>;
export declare function getAddLocalTokenInstructionDataDecoder(): Decoder<AddLocalTokenInstructionData>;
export declare function getAddLocalTokenInstructionDataCodec(): Codec<AddLocalTokenInstructionDataArgs, AddLocalTokenInstructionData>;
export type AddLocalTokenAsyncInput<TAccountPayer extends string = string, TAccountTokenController extends string = string, TAccountTokenMinter extends string = string, TAccountLocalToken extends string = string, TAccountCustodyTokenAccount extends string = string, TAccountLocalTokenMint extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payer: TransactionSigner<TAccountPayer>;
    tokenController: TransactionSigner<TAccountTokenController>;
    tokenMinter: Address<TAccountTokenMinter>;
    localToken?: Address<TAccountLocalToken>;
    custodyTokenAccount?: Address<TAccountCustodyTokenAccount>;
    localTokenMint: Address<TAccountLocalTokenMint>;
    tokenProgram?: Address<TAccountTokenProgram>;
    systemProgram?: Address<TAccountSystemProgram>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
};
export declare function getAddLocalTokenInstructionAsync<TAccountPayer extends string, TAccountTokenController extends string, TAccountTokenMinter extends string, TAccountLocalToken extends string, TAccountCustodyTokenAccount extends string, TAccountLocalTokenMint extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: AddLocalTokenAsyncInput<TAccountPayer, TAccountTokenController, TAccountTokenMinter, TAccountLocalToken, TAccountCustodyTokenAccount, TAccountLocalTokenMint, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<AddLocalTokenInstruction<TProgramAddress, TAccountPayer, TAccountTokenController, TAccountTokenMinter, TAccountLocalToken, TAccountCustodyTokenAccount, TAccountLocalTokenMint, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>>;
export type AddLocalTokenInput<TAccountPayer extends string = string, TAccountTokenController extends string = string, TAccountTokenMinter extends string = string, TAccountLocalToken extends string = string, TAccountCustodyTokenAccount extends string = string, TAccountLocalTokenMint extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payer: TransactionSigner<TAccountPayer>;
    tokenController: TransactionSigner<TAccountTokenController>;
    tokenMinter: Address<TAccountTokenMinter>;
    localToken: Address<TAccountLocalToken>;
    custodyTokenAccount: Address<TAccountCustodyTokenAccount>;
    localTokenMint: Address<TAccountLocalTokenMint>;
    tokenProgram?: Address<TAccountTokenProgram>;
    systemProgram?: Address<TAccountSystemProgram>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
};
export declare function getAddLocalTokenInstruction<TAccountPayer extends string, TAccountTokenController extends string, TAccountTokenMinter extends string, TAccountLocalToken extends string, TAccountCustodyTokenAccount extends string, TAccountLocalTokenMint extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: AddLocalTokenInput<TAccountPayer, TAccountTokenController, TAccountTokenMinter, TAccountLocalToken, TAccountCustodyTokenAccount, TAccountLocalTokenMint, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): AddLocalTokenInstruction<TProgramAddress, TAccountPayer, TAccountTokenController, TAccountTokenMinter, TAccountLocalToken, TAccountCustodyTokenAccount, TAccountLocalTokenMint, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>;
export type ParsedAddLocalTokenInstruction<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];
        localToken: TAccountMetas[3];
        custodyTokenAccount: TAccountMetas[4];
        localTokenMint: TAccountMetas[5];
        tokenProgram: TAccountMetas[6];
        systemProgram: TAccountMetas[7];
        eventAuthority: TAccountMetas[8];
        program: TAccountMetas[9];
    };
    data: AddLocalTokenInstructionData;
};
export declare function parseAddLocalTokenInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedAddLocalTokenInstruction<TProgram, TAccountMetas>;
