/**
 * 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/web3-v2.js';
import { SVM_SPOKE_PROGRAM_ADDRESS } from '../programs';
export declare const CLOSE_CLAIM_ACCOUNT_DISCRIMINATOR: Uint8Array;
export declare function getCloseClaimAccountDiscriminatorBytes(): ReadonlyUint8Array;
export type CloseClaimAccountInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountSigner extends string | IAccountMeta<string> = string, TAccountMint extends string | IAccountMeta<string> = string, TAccountRefundAddress extends string | IAccountMeta<string> = string, TAccountClaimAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountSigner extends string ? WritableSignerAccount<TAccountSigner> & IAccountSignerMeta<TAccountSigner> : TAccountSigner,
    TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
    TAccountRefundAddress extends string ? ReadonlyAccount<TAccountRefundAddress> : TAccountRefundAddress,
    TAccountClaimAccount extends string ? WritableAccount<TAccountClaimAccount> : TAccountClaimAccount,
    ...TRemainingAccounts
]>;
export type CloseClaimAccountInstructionData = {
    discriminator: ReadonlyUint8Array;
};
export type CloseClaimAccountInstructionDataArgs = {};
export declare function getCloseClaimAccountInstructionDataEncoder(): Encoder<CloseClaimAccountInstructionDataArgs>;
export declare function getCloseClaimAccountInstructionDataDecoder(): Decoder<CloseClaimAccountInstructionData>;
export declare function getCloseClaimAccountInstructionDataCodec(): Codec<CloseClaimAccountInstructionDataArgs, CloseClaimAccountInstructionData>;
export type CloseClaimAccountAsyncInput<TAccountSigner extends string = string, TAccountMint extends string = string, TAccountRefundAddress extends string = string, TAccountClaimAccount extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    mint: Address<TAccountMint>;
    refundAddress: Address<TAccountRefundAddress>;
    claimAccount?: Address<TAccountClaimAccount>;
};
export declare function getCloseClaimAccountInstructionAsync<TAccountSigner extends string, TAccountMint extends string, TAccountRefundAddress extends string, TAccountClaimAccount extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: CloseClaimAccountAsyncInput<TAccountSigner, TAccountMint, TAccountRefundAddress, TAccountClaimAccount>, config?: {
    programAddress?: TProgramAddress;
}): Promise<CloseClaimAccountInstruction<TProgramAddress, TAccountSigner, TAccountMint, TAccountRefundAddress, TAccountClaimAccount>>;
export type CloseClaimAccountInput<TAccountSigner extends string = string, TAccountMint extends string = string, TAccountRefundAddress extends string = string, TAccountClaimAccount extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    mint: Address<TAccountMint>;
    refundAddress: Address<TAccountRefundAddress>;
    claimAccount: Address<TAccountClaimAccount>;
};
export declare function getCloseClaimAccountInstruction<TAccountSigner extends string, TAccountMint extends string, TAccountRefundAddress extends string, TAccountClaimAccount extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: CloseClaimAccountInput<TAccountSigner, TAccountMint, TAccountRefundAddress, TAccountClaimAccount>, config?: {
    programAddress?: TProgramAddress;
}): CloseClaimAccountInstruction<TProgramAddress, TAccountSigner, TAccountMint, TAccountRefundAddress, TAccountClaimAccount>;
export type ParsedCloseClaimAccountInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        signer: TAccountMetas[0];
        mint: TAccountMetas[1];
        refundAddress: TAccountMetas[2];
        claimAccount: TAccountMetas[3];
    };
    data: CloseClaimAccountInstructionData;
};
export declare function parseCloseClaimAccountInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedCloseClaimAccountInstruction<TProgram, TAccountMetas>;
