/**
 * 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 } from '@solana/kit';
import { SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS } from '../programs';
import { type UsedNonceAccountParams, type UsedNonceAccountParamsArgs } from '../types';
export declare const GET_USED_NONCE_CLOSE_INFO_DISCRIMINATOR: Uint8Array;
export declare function getGetUsedNonceCloseInfoDiscriminatorBytes(): ReadonlyUint8Array;
export type GetUsedNonceCloseInfoInstruction<TProgram extends string = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS, TAccountState extends string | IAccountMeta<string> = string, TAccountUsedNonce extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountState extends string ? ReadonlyAccount<TAccountState> : TAccountState,
    TAccountUsedNonce extends string ? ReadonlyAccount<TAccountUsedNonce> : TAccountUsedNonce,
    ...TRemainingAccounts
]>;
export type GetUsedNonceCloseInfoInstructionData = {
    discriminator: ReadonlyUint8Array;
    params: UsedNonceAccountParams;
};
export type GetUsedNonceCloseInfoInstructionDataArgs = {
    params: UsedNonceAccountParamsArgs;
};
export declare function getGetUsedNonceCloseInfoInstructionDataEncoder(): Encoder<GetUsedNonceCloseInfoInstructionDataArgs>;
export declare function getGetUsedNonceCloseInfoInstructionDataDecoder(): Decoder<GetUsedNonceCloseInfoInstructionData>;
export declare function getGetUsedNonceCloseInfoInstructionDataCodec(): Codec<GetUsedNonceCloseInfoInstructionDataArgs, GetUsedNonceCloseInfoInstructionData>;
export type GetUsedNonceCloseInfoAsyncInput<TAccountState extends string = string, TAccountUsedNonce extends string = string> = {
    state?: Address<TAccountState>;
    usedNonce: Address<TAccountUsedNonce>;
    params: GetUsedNonceCloseInfoInstructionDataArgs['params'];
};
export declare function getGetUsedNonceCloseInfoInstructionAsync<TAccountState extends string, TAccountUsedNonce extends string, TProgramAddress extends Address = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS>(input: GetUsedNonceCloseInfoAsyncInput<TAccountState, TAccountUsedNonce>, config?: {
    programAddress?: TProgramAddress;
}): Promise<GetUsedNonceCloseInfoInstruction<TProgramAddress, TAccountState, TAccountUsedNonce>>;
export type GetUsedNonceCloseInfoInput<TAccountState extends string = string, TAccountUsedNonce extends string = string> = {
    state: Address<TAccountState>;
    usedNonce: Address<TAccountUsedNonce>;
    params: GetUsedNonceCloseInfoInstructionDataArgs['params'];
};
export declare function getGetUsedNonceCloseInfoInstruction<TAccountState extends string, TAccountUsedNonce extends string, TProgramAddress extends Address = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS>(input: GetUsedNonceCloseInfoInput<TAccountState, TAccountUsedNonce>, config?: {
    programAddress?: TProgramAddress;
}): GetUsedNonceCloseInfoInstruction<TProgramAddress, TAccountState, TAccountUsedNonce>;
export type ParsedGetUsedNonceCloseInfoInstruction<TProgram extends string = typeof SPONSORED_CCTP_SRC_PERIPHERY_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        state: TAccountMetas[0];
        usedNonce: TAccountMetas[1];
    };
    data: GetUsedNonceCloseInfoInstructionData;
};
export declare function parseGetUsedNonceCloseInfoInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedGetUsedNonceCloseInfoInstruction<TProgram, TAccountMetas>;
