import type { IStatus } from "#interface/status"; import type { EventEmitter } from "events"; export type ICore = { status: IStatus; init: () => ICore; stop: (args?: { type?: string; value: number; body?: Error; }) => Promise; on: (name: string, callback: (...args: any[]) => void) => EventEmitter; };