/**
 * 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 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;
export declare function getWithdrawRentFundDiscriminatorBytes(): ReadonlyUint8Array;
export type WithdrawRentFundInstruction<TProgram extends string = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS, TAccountSigner extends string | IAccountMeta<string> = string, TAccountRentFund extends string | IAccountMeta<string> = string, TAccountRecipient extends string | IAccountMeta<string> = string, TAccountProgramData extends string | IAccountMeta<string> = string, TAccountThisProgram extends string | IAccountMeta<string> = 'CPr4bRvkVKcSCLyrQpkZrRrwGzQeVAXutFU8WupuBLXq', TAccountSystemProgram extends string | IAccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountSigner extends string ? WritableSignerAccount<TAccountSigner> & IAccountSignerMeta<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(): Encoder<WithdrawRentFundInstructionDataArgs>;
export declare function getWithdrawRentFundInstructionDataDecoder(): Decoder<WithdrawRentFundInstructionData>;
export declare function getWithdrawRentFundInstructionDataCodec(): Codec<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 IAccountMeta[] = readonly IAccountMeta[]> = {
    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 IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedWithdrawRentFundInstruction<TProgram, TAccountMetas>;
