/**
 * 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 IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
import { SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS } from '../programs';
import { type UsedNonceAccountParams, type UsedNonceAccountParamsArgs } from '../types';
export declare const RECLAIM_USED_NONCE_ACCOUNT_DISCRIMINATOR: Uint8Array;
export declare function getReclaimUsedNonceAccountDiscriminatorBytes(): ReadonlyUint8Array;
export type ReclaimUsedNonceAccountInstruction<TProgram extends string = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS, TAccountState extends string | IAccountMeta<string> = string, TAccountRentFund extends string | IAccountMeta<string> = string, TAccountUsedNonce extends string | IAccountMeta<string> = string, TAccountEventAuthority extends string | IAccountMeta<string> = string, TAccountProgram extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountState extends string ? ReadonlyAccount<TAccountState> : TAccountState,
    TAccountRentFund extends string ? WritableAccount<TAccountRentFund> : TAccountRentFund,
    TAccountUsedNonce extends string ? WritableAccount<TAccountUsedNonce> : TAccountUsedNonce,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type ReclaimUsedNonceAccountInstructionData = {
    discriminator: ReadonlyUint8Array;
    params: UsedNonceAccountParams;
};
export type ReclaimUsedNonceAccountInstructionDataArgs = {
    params: UsedNonceAccountParamsArgs;
};
export declare function getReclaimUsedNonceAccountInstructionDataEncoder(): Encoder<ReclaimUsedNonceAccountInstructionDataArgs>;
export declare function getReclaimUsedNonceAccountInstructionDataDecoder(): Decoder<ReclaimUsedNonceAccountInstructionData>;
export declare function getReclaimUsedNonceAccountInstructionDataCodec(): Codec<ReclaimUsedNonceAccountInstructionDataArgs, ReclaimUsedNonceAccountInstructionData>;
export type ReclaimUsedNonceAccountAsyncInput<TAccountState extends string = string, TAccountRentFund extends string = string, TAccountUsedNonce extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    state?: Address<TAccountState>;
    rentFund?: Address<TAccountRentFund>;
    usedNonce: Address<TAccountUsedNonce>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    params: ReclaimUsedNonceAccountInstructionDataArgs['params'];
};
export declare function getReclaimUsedNonceAccountInstructionAsync<TAccountState extends string, TAccountRentFund extends string, TAccountUsedNonce extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS>(input: ReclaimUsedNonceAccountAsyncInput<TAccountState, TAccountRentFund, TAccountUsedNonce, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<ReclaimUsedNonceAccountInstruction<TProgramAddress, TAccountState, TAccountRentFund, TAccountUsedNonce, TAccountEventAuthority, TAccountProgram>>;
export type ReclaimUsedNonceAccountInput<TAccountState extends string = string, TAccountRentFund extends string = string, TAccountUsedNonce extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    state: Address<TAccountState>;
    rentFund: Address<TAccountRentFund>;
    usedNonce: Address<TAccountUsedNonce>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    params: ReclaimUsedNonceAccountInstructionDataArgs['params'];
};
export declare function getReclaimUsedNonceAccountInstruction<TAccountState extends string, TAccountRentFund extends string, TAccountUsedNonce extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS>(input: ReclaimUsedNonceAccountInput<TAccountState, TAccountRentFund, TAccountUsedNonce, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): ReclaimUsedNonceAccountInstruction<TProgramAddress, TAccountState, TAccountRentFund, TAccountUsedNonce, TAccountEventAuthority, TAccountProgram>;
export type ParsedReclaimUsedNonceAccountInstruction<TProgram extends string = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        state: TAccountMetas[0];
        rentFund: TAccountMetas[1];
        usedNonce: TAccountMetas[2];
        eventAuthority: TAccountMetas[3];
        program: TAccountMetas[4];
    };
    data: ReclaimUsedNonceAccountInstructionData;
};
export declare function parseReclaimUsedNonceAccountInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedReclaimUsedNonceAccountInstruction<TProgram, TAccountMetas>;
