UNPKG

@kotori-bot/core

Version:
7 lines (6 loc) 431 B
import { type EventsList as FluoroEventsList, Service as FluoroService } from 'fluoro'; import type { EventsMapping } from '../types/events'; import type Context from './core'; export type EventsList = FluoroEventsList<EventsMapping>; export type Service<T extends object = object> = FluoroService<T, Context>; export declare const Service: new <T extends object = object>(ctx: Context, config: T, identity: string) => Service<T>;