/**
 * 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 ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/web3-v2.js';
import { SVM_SPOKE_PROGRAM_ADDRESS } from '../programs';
export declare const CLOSE_INSTRUCTION_PARAMS_DISCRIMINATOR: Uint8Array;
export declare function getCloseInstructionParamsDiscriminatorBytes(): ReadonlyUint8Array;
export type CloseInstructionParamsInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountSigner extends string | IAccountMeta<string> = string, TAccountInstructionParams extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountSigner extends string ? WritableSignerAccount<TAccountSigner> & IAccountSignerMeta<TAccountSigner> : TAccountSigner,
    TAccountInstructionParams extends string ? WritableAccount<TAccountInstructionParams> : TAccountInstructionParams,
    ...TRemainingAccounts
]>;
export type CloseInstructionParamsInstructionData = {
    discriminator: ReadonlyUint8Array;
};
export type CloseInstructionParamsInstructionDataArgs = {};
export declare function getCloseInstructionParamsInstructionDataEncoder(): Encoder<CloseInstructionParamsInstructionDataArgs>;
export declare function getCloseInstructionParamsInstructionDataDecoder(): Decoder<CloseInstructionParamsInstructionData>;
export declare function getCloseInstructionParamsInstructionDataCodec(): Codec<CloseInstructionParamsInstructionDataArgs, CloseInstructionParamsInstructionData>;
export type CloseInstructionParamsAsyncInput<TAccountSigner extends string = string, TAccountInstructionParams extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    instructionParams?: Address<TAccountInstructionParams>;
};
export declare function getCloseInstructionParamsInstructionAsync<TAccountSigner extends string, TAccountInstructionParams extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: CloseInstructionParamsAsyncInput<TAccountSigner, TAccountInstructionParams>, config?: {
    programAddress?: TProgramAddress;
}): Promise<CloseInstructionParamsInstruction<TProgramAddress, TAccountSigner, TAccountInstructionParams>>;
export type CloseInstructionParamsInput<TAccountSigner extends string = string, TAccountInstructionParams extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    instructionParams: Address<TAccountInstructionParams>;
};
export declare function getCloseInstructionParamsInstruction<TAccountSigner extends string, TAccountInstructionParams extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: CloseInstructionParamsInput<TAccountSigner, TAccountInstructionParams>, config?: {
    programAddress?: TProgramAddress;
}): CloseInstructionParamsInstruction<TProgramAddress, TAccountSigner, TAccountInstructionParams>;
export type ParsedCloseInstructionParamsInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        signer: TAccountMetas[0];
        instructionParams: TAccountMetas[1];
    };
    data: CloseInstructionParamsInstructionData;
};
export declare function parseCloseInstructionParamsInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedCloseInstructionParamsInstruction<TProgram, TAccountMetas>;
