UNPKG

@kotori-bot/core

Version:
7 lines (6 loc) 431 B
import type Context from './core'; import { Service as FluoroService, type EventsList as FluoroEventsList } from 'fluoro'; import type { EventsMapping } from '../types/events'; 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>;