/**
 * 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_FILL_PDA_DISCRIMINATOR: Uint8Array;
export declare function getCloseFillPdaDiscriminatorBytes(): ReadonlyUint8Array;
export type CloseFillPdaInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountSigner extends string | IAccountMeta<string> = string, TAccountState extends string | IAccountMeta<string> = string, TAccountFillStatus extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountSigner extends string ? WritableSignerAccount<TAccountSigner> & IAccountSignerMeta<TAccountSigner> : TAccountSigner,
    TAccountState extends string ? ReadonlyAccount<TAccountState> : TAccountState,
    TAccountFillStatus extends string ? WritableAccount<TAccountFillStatus> : TAccountFillStatus,
    ...TRemainingAccounts
]>;
export type CloseFillPdaInstructionData = {
    discriminator: ReadonlyUint8Array;
};
export type CloseFillPdaInstructionDataArgs = {};
export declare function getCloseFillPdaInstructionDataEncoder(): Encoder<CloseFillPdaInstructionDataArgs>;
export declare function getCloseFillPdaInstructionDataDecoder(): Decoder<CloseFillPdaInstructionData>;
export declare function getCloseFillPdaInstructionDataCodec(): Codec<CloseFillPdaInstructionDataArgs, CloseFillPdaInstructionData>;
export type CloseFillPdaInput<TAccountSigner extends string = string, TAccountState extends string = string, TAccountFillStatus extends string = string> = {
    signer: TransactionSigner<TAccountSigner>;
    state: Address<TAccountState>;
    fillStatus: Address<TAccountFillStatus>;
};
export declare function getCloseFillPdaInstruction<TAccountSigner extends string, TAccountState extends string, TAccountFillStatus extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: CloseFillPdaInput<TAccountSigner, TAccountState, TAccountFillStatus>, config?: {
    programAddress?: TProgramAddress;
}): CloseFillPdaInstruction<TProgramAddress, TAccountSigner, TAccountState, TAccountFillStatus>;
export type ParsedCloseFillPdaInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        signer: TAccountMetas[0];
        state: TAccountMetas[1];
        fillStatus: TAccountMetas[2];
    };
    data: CloseFillPdaInstructionData;
};
export declare function parseCloseFillPdaInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedCloseFillPdaInstruction<TProgram, TAccountMetas>;
