/**
 * 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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from "@solana/kit";
import { TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS } from "../programs";
export declare const REPLACE_DEPOSIT_FOR_BURN_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getReplaceDepositForBurnDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type ReplaceDepositForBurnInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = string, TAccountEventRentPayer extends string | AccountMeta<string> = string, TAccountSenderAuthorityPda extends string | AccountMeta<string> = string, TAccountMessageTransmitter extends string | AccountMeta<string> = string, TAccountTokenMessenger extends string | AccountMeta<string> = string, TAccountMessageSentEventData extends string | AccountMeta<string> = string, TAccountMessageTransmitterProgram extends string | AccountMeta<string> = string, TAccountTokenMessengerMinterProgram extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", 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,
    TAccountEventRentPayer extends string ? WritableSignerAccount<TAccountEventRentPayer> & AccountSignerMeta<TAccountEventRentPayer> : TAccountEventRentPayer,
    TAccountSenderAuthorityPda extends string ? ReadonlyAccount<TAccountSenderAuthorityPda> : TAccountSenderAuthorityPda,
    TAccountMessageTransmitter extends string ? WritableAccount<TAccountMessageTransmitter> : TAccountMessageTransmitter,
    TAccountTokenMessenger extends string ? ReadonlyAccount<TAccountTokenMessenger> : TAccountTokenMessenger,
    TAccountMessageSentEventData extends string ? WritableSignerAccount<TAccountMessageSentEventData> & AccountSignerMeta<TAccountMessageSentEventData> : TAccountMessageSentEventData,
    TAccountMessageTransmitterProgram extends string ? ReadonlyAccount<TAccountMessageTransmitterProgram> : TAccountMessageTransmitterProgram,
    TAccountTokenMessengerMinterProgram extends string ? ReadonlyAccount<TAccountTokenMessengerMinterProgram> : TAccountTokenMessengerMinterProgram,
    TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type ReplaceDepositForBurnInstructionData = {
    discriminator: ReadonlyUint8Array;
    originalMessage: ReadonlyUint8Array;
    originalAttestation: ReadonlyUint8Array;
    newDestinationCaller: Address;
    newMintRecipient: Address;
};
export type ReplaceDepositForBurnInstructionDataArgs = {
    originalMessage: ReadonlyUint8Array;
    originalAttestation: ReadonlyUint8Array;
    newDestinationCaller: Address;
    newMintRecipient: Address;
};
export declare function getReplaceDepositForBurnInstructionDataEncoder(): Encoder<ReplaceDepositForBurnInstructionDataArgs>;
export declare function getReplaceDepositForBurnInstructionDataDecoder(): Decoder<ReplaceDepositForBurnInstructionData>;
export declare function getReplaceDepositForBurnInstructionDataCodec(): Codec<ReplaceDepositForBurnInstructionDataArgs, ReplaceDepositForBurnInstructionData>;
export type ReplaceDepositForBurnInput<TAccountOwner extends string = string, TAccountEventRentPayer extends string = string, TAccountSenderAuthorityPda extends string = string, TAccountMessageTransmitter extends string = string, TAccountTokenMessenger extends string = string, TAccountMessageSentEventData extends string = string, TAccountMessageTransmitterProgram extends string = string, TAccountTokenMessengerMinterProgram extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    owner: TransactionSigner<TAccountOwner>;
    eventRentPayer: TransactionSigner<TAccountEventRentPayer>;
    senderAuthorityPda: Address<TAccountSenderAuthorityPda>;
    messageTransmitter: Address<TAccountMessageTransmitter>;
    tokenMessenger: Address<TAccountTokenMessenger>;
    messageSentEventData: TransactionSigner<TAccountMessageSentEventData>;
    messageTransmitterProgram: Address<TAccountMessageTransmitterProgram>;
    tokenMessengerMinterProgram: Address<TAccountTokenMessengerMinterProgram>;
    systemProgram?: Address<TAccountSystemProgram>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    originalMessage: ReplaceDepositForBurnInstructionDataArgs["originalMessage"];
    originalAttestation: ReplaceDepositForBurnInstructionDataArgs["originalAttestation"];
    newDestinationCaller: ReplaceDepositForBurnInstructionDataArgs["newDestinationCaller"];
    newMintRecipient: ReplaceDepositForBurnInstructionDataArgs["newMintRecipient"];
};
export declare function getReplaceDepositForBurnInstruction<TAccountOwner extends string, TAccountEventRentPayer extends string, TAccountSenderAuthorityPda extends string, TAccountMessageTransmitter extends string, TAccountTokenMessenger extends string, TAccountMessageSentEventData extends string, TAccountMessageTransmitterProgram extends string, TAccountTokenMessengerMinterProgram extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS>(input: ReplaceDepositForBurnInput<TAccountOwner, TAccountEventRentPayer, TAccountSenderAuthorityPda, TAccountMessageTransmitter, TAccountTokenMessenger, TAccountMessageSentEventData, TAccountMessageTransmitterProgram, TAccountTokenMessengerMinterProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): ReplaceDepositForBurnInstruction<TProgramAddress, TAccountOwner, TAccountEventRentPayer, TAccountSenderAuthorityPda, TAccountMessageTransmitter, TAccountTokenMessenger, TAccountMessageSentEventData, TAccountMessageTransmitterProgram, TAccountTokenMessengerMinterProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>;
export type ParsedReplaceDepositForBurnInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        owner: TAccountMetas[0];
        eventRentPayer: TAccountMetas[1];
        senderAuthorityPda: TAccountMetas[2];
        messageTransmitter: TAccountMetas[3];
        tokenMessenger: TAccountMetas[4];
        messageSentEventData: TAccountMetas[5];
        messageTransmitterProgram: TAccountMetas[6];
        tokenMessengerMinterProgram: TAccountMetas[7];
        systemProgram: TAccountMetas[8];
        eventAuthority: TAccountMetas[9];
        program: TAccountMetas[10];
    };
    data: ReplaceDepositForBurnInstructionData;
};
export declare function parseReplaceDepositForBurnInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedReplaceDepositForBurnInstruction<TProgram, TAccountMetas>;
//# sourceMappingURL=replaceDepositForBurn.d.ts.map