/**
 * 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 AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from "@solana/kit";
import { SVM_SPOKE_PROGRAM_ADDRESS } from "../programs";
export declare const CLOSE_INSTRUCTION_PARAMS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getCloseInstructionParamsDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type CloseInstructionParamsInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountInstructionParams extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
    TAccountSigner extends string ? WritableSignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
    TAccountInstructionParams extends string ? WritableAccount<TAccountInstructionParams> : TAccountInstructionParams,
    ...TRemainingAccounts
]>;
export type CloseInstructionParamsInstructionData = {
    discriminator: ReadonlyUint8Array;
};
export type CloseInstructionParamsInstructionDataArgs = {};
export declare function getCloseInstructionParamsInstructionDataEncoder(): FixedSizeEncoder<CloseInstructionParamsInstructionDataArgs>;
export declare function getCloseInstructionParamsInstructionDataDecoder(): FixedSizeDecoder<CloseInstructionParamsInstructionData>;
export declare function getCloseInstructionParamsInstructionDataCodec(): FixedSizeCodec<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 AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        signer: TAccountMetas[0];
        instructionParams: TAccountMetas[1];
    };
    data: CloseInstructionParamsInstructionData;
};
export declare function parseCloseInstructionParamsInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCloseInstructionParamsInstruction<TProgram, TAccountMetas>;
