import Context from './Context.js'; import type { ContextOptions } from './types.js'; export interface ICommandFn { (ctx: Context): void | Promise | any; } export interface IServiceOptions { /** Name of service */ name: string; command: Partial>>; extendsPluginAPI?: U; } declare class Service { private serviceConfig; constructor(serviceConfig: IServiceOptions); run: (options: ContextOptions) => Promise; } export default Service;