/**
 * 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 BURN_TOKEN_CUSTODY_DISCRIMINATOR: Uint8Array;
export declare function getBurnTokenCustodyDiscriminatorBytes(): ReadonlyUint8Array;
export type BurnTokenCustodyInstruction<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, TAccountLocalToken extends string | IAccountMeta<string> = string, TAccountCustodyTokenAccount extends string | IAccountMeta<string> = string, TAccountCustodyTokenMint extends string | IAccountMeta<string> = string, TAccountTokenProgram extends string | IAccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', 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,
    TAccountLocalToken extends string ? ReadonlyAccount<TAccountLocalToken> : TAccountLocalToken,
    TAccountCustodyTokenAccount extends string ? WritableAccount<TAccountCustodyTokenAccount> : TAccountCustodyTokenAccount,
    TAccountCustodyTokenMint extends string ? WritableAccount<TAccountCustodyTokenMint> : TAccountCustodyTokenMint,
    TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type BurnTokenCustodyInstructionData = {
    discriminator: ReadonlyUint8Array;
    amount: bigint;
};
export type BurnTokenCustodyInstructionDataArgs = {
    amount: number | bigint;
};
export declare function getBurnTokenCustodyInstructionDataEncoder(): Encoder<BurnTokenCustodyInstructionDataArgs>;
export declare function getBurnTokenCustodyInstructionDataDecoder(): Decoder<BurnTokenCustodyInstructionData>;
export declare function getBurnTokenCustodyInstructionDataCodec(): Codec<BurnTokenCustodyInstructionDataArgs, BurnTokenCustodyInstructionData>;
export type BurnTokenCustodyAsyncInput<TAccountPayee extends string = string, TAccountTokenController extends string = string, TAccountTokenMinter extends string = string, TAccountLocalToken extends string = string, TAccountCustodyTokenAccount extends string = string, TAccountCustodyTokenMint extends string = string, TAccountTokenProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payee: TransactionSigner<TAccountPayee>;
    tokenController: TransactionSigner<TAccountTokenController>;
    tokenMinter: Address<TAccountTokenMinter>;
    localToken: Address<TAccountLocalToken>;
    custodyTokenAccount: Address<TAccountCustodyTokenAccount>;
    custodyTokenMint: Address<TAccountCustodyTokenMint>;
    tokenProgram?: Address<TAccountTokenProgram>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    amount: BurnTokenCustodyInstructionDataArgs['amount'];
};
export declare function getBurnTokenCustodyInstructionAsync<TAccountPayee extends string, TAccountTokenController extends string, TAccountTokenMinter extends string, TAccountLocalToken extends string, TAccountCustodyTokenAccount extends string, TAccountCustodyTokenMint extends string, TAccountTokenProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: BurnTokenCustodyAsyncInput<TAccountPayee, TAccountTokenController, TAccountTokenMinter, TAccountLocalToken, TAccountCustodyTokenAccount, TAccountCustodyTokenMint, TAccountTokenProgram, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<BurnTokenCustodyInstruction<TProgramAddress, TAccountPayee, TAccountTokenController, TAccountTokenMinter, TAccountLocalToken, TAccountCustodyTokenAccount, TAccountCustodyTokenMint, TAccountTokenProgram, TAccountEventAuthority, TAccountProgram>>;
export type BurnTokenCustodyInput<TAccountPayee extends string = string, TAccountTokenController extends string = string, TAccountTokenMinter extends string = string, TAccountLocalToken extends string = string, TAccountCustodyTokenAccount extends string = string, TAccountCustodyTokenMint extends string = string, TAccountTokenProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payee: TransactionSigner<TAccountPayee>;
    tokenController: TransactionSigner<TAccountTokenController>;
    tokenMinter: Address<TAccountTokenMinter>;
    localToken: Address<TAccountLocalToken>;
    custodyTokenAccount: Address<TAccountCustodyTokenAccount>;
    custodyTokenMint: Address<TAccountCustodyTokenMint>;
    tokenProgram?: Address<TAccountTokenProgram>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    amount: BurnTokenCustodyInstructionDataArgs['amount'];
};
export declare function getBurnTokenCustodyInstruction<TAccountPayee extends string, TAccountTokenController extends string, TAccountTokenMinter extends string, TAccountLocalToken extends string, TAccountCustodyTokenAccount extends string, TAccountCustodyTokenMint extends string, TAccountTokenProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: BurnTokenCustodyInput<TAccountPayee, TAccountTokenController, TAccountTokenMinter, TAccountLocalToken, TAccountCustodyTokenAccount, TAccountCustodyTokenMint, TAccountTokenProgram, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): BurnTokenCustodyInstruction<TProgramAddress, TAccountPayee, TAccountTokenController, TAccountTokenMinter, TAccountLocalToken, TAccountCustodyTokenAccount, TAccountCustodyTokenMint, TAccountTokenProgram, TAccountEventAuthority, TAccountProgram>;
export type ParsedBurnTokenCustodyInstruction<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];
        localToken: TAccountMetas[3];
        custodyTokenAccount: TAccountMetas[4];
        custodyTokenMint: TAccountMetas[5];
        tokenProgram: TAccountMetas[6];
        eventAuthority: TAccountMetas[7];
        program: TAccountMetas[8];
    };
    data: BurnTokenCustodyInstructionData;
};
export declare function parseBurnTokenCustodyInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedBurnTokenCustodyInstruction<TProgram, TAccountMetas>;
