/**
 * 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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from "@solana/kit";
import { SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS } from "../programs";
export declare const WITHDRAW_RENT_FUND_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getWithdrawRentFundDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type WithdrawRentFundInstruction<TProgram extends string = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountRentFund extends string | AccountMeta<string> = string, TAccountRecipient extends string | AccountMeta<string> = string, TAccountProgramData extends string | AccountMeta<string> = string, TAccountThisProgram extends string | AccountMeta<string> = "FsD4uqAyXiAcQapVTokNvdz1ZC5hMHjY6a93nYmEqZQS", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
    TAccountSigner extends string ? WritableSignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
    TAccountRentFund extends string ? WritableAccount<TAccountRentFund> : TAccountRentFund,
    TAccountRecipient extends string ? WritableAccount<TAccountRecipient> : TAccountRecipient,
    TAccountProgramData extends string ? ReadonlyAccount<TAccountProgramData> : TAccountProgramData,
    TAccountThisProgram extends string ? ReadonlyAccount<TAccountThisProgram> : TAccountThisProgram,
    TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
    ...TRemainingAccounts
]>;
export type WithdrawRentFundInstructionData = {
    discriminator: ReadonlyUint8Array;
    amount: bigint;
};
export type WithdrawRentFundInstructionDataArgs = {
    amount: number | bigint;
};
export declare function getWithdrawRentFundInstructionDataEncoder(): FixedSizeEncoder<WithdrawRentFundInstructionDataArgs>;
export declare function getWithdrawRentFundInstructionDataDecoder(): FixedSizeDecoder<WithdrawRentFundInstructionData>;
export declare function getWithdrawRentFundInstructionDataCodec(): FixedSizeCodec<WithdrawRentFundInstructionDataArgs, WithdrawRentFundInstructionData>;
export type WithdrawRentFundAsyncInput<TAccountSigner extends string = string, TAccountRentFund extends string = string, TAccountRecipient extends string = string, TAccountProgramData extends string = string, TAccountThisProgram extends string = string, TAccountSystemProgram extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    rentFund?: Address<TAccountRentFund>;
    recipient: Address<TAccountRecipient>;
    programData: Address<TAccountProgramData>;
    thisProgram?: Address<TAccountThisProgram>;
    systemProgram?: Address<TAccountSystemProgram>;
    amount: WithdrawRentFundInstructionDataArgs["amount"];
};
export declare function getWithdrawRentFundInstructionAsync<TAccountSigner extends string, TAccountRentFund extends string, TAccountRecipient extends string, TAccountProgramData extends string, TAccountThisProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS>(input: WithdrawRentFundAsyncInput<TAccountSigner, TAccountRentFund, TAccountRecipient, TAccountProgramData, TAccountThisProgram, TAccountSystemProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<WithdrawRentFundInstruction<TProgramAddress, TAccountSigner, TAccountRentFund, TAccountRecipient, TAccountProgramData, TAccountThisProgram, TAccountSystemProgram>>;
export type WithdrawRentFundInput<TAccountSigner extends string = string, TAccountRentFund extends string = string, TAccountRecipient extends string = string, TAccountProgramData extends string = string, TAccountThisProgram extends string = string, TAccountSystemProgram extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    rentFund: Address<TAccountRentFund>;
    recipient: Address<TAccountRecipient>;
    programData: Address<TAccountProgramData>;
    thisProgram?: Address<TAccountThisProgram>;
    systemProgram?: Address<TAccountSystemProgram>;
    amount: WithdrawRentFundInstructionDataArgs["amount"];
};
export declare function getWithdrawRentFundInstruction<TAccountSigner extends string, TAccountRentFund extends string, TAccountRecipient extends string, TAccountProgramData extends string, TAccountThisProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS>(input: WithdrawRentFundInput<TAccountSigner, TAccountRentFund, TAccountRecipient, TAccountProgramData, TAccountThisProgram, TAccountSystemProgram>, config?: {
    programAddress?: TProgramAddress;
}): WithdrawRentFundInstruction<TProgramAddress, TAccountSigner, TAccountRentFund, TAccountRecipient, TAccountProgramData, TAccountThisProgram, TAccountSystemProgram>;
export type ParsedWithdrawRentFundInstruction<TProgram extends string = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        signer: TAccountMetas[0];
        rentFund: TAccountMetas[1];
        recipient: TAccountMetas[2];
        programData: TAccountMetas[3];
        thisProgram: TAccountMetas[4];
        systemProgram: TAccountMetas[5];
    };
    data: WithdrawRentFundInstructionData;
};
export declare function parseWithdrawRentFundInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedWithdrawRentFundInstruction<TProgram, TAccountMetas>;
//# sourceMappingURL=withdrawRentFund.d.ts.map