import type { InjectableWithTypedThis, InjectMap, Resolvable, ResolvableArray } from "@akala/core"; import type { ICommandProcessor } from './processor.js'; import type { Command } from '../metadata/command.js'; import type { Configurations } from '../metadata/configurations.js'; type Injectable = InjectableWithTypedThis & { '$inject'?: string[]; }; export interface CommandWithProcessorAffinity extends Command { processor: ICommandProcessor; } export declare class SelfDefinedCommand implements Command { readonly handler: Injectable, T, TArgs>; constructor(handler: Injectable, T, TArgs>, name?: string, inject?: ResolvableArray | InjectMap); get inject(): Resolvable[] | InjectMap; set inject(value: InjectMap | Resolvable[] | undefined); name: string; config: Configurations; } export {};