import { Knex } from 'knex'; import { Accountability } from './accountability'; import { SchemaOverview } from './schema'; export type EventContext = { database: Knex; schema: SchemaOverview | null; accountability: Accountability | null; }; export type FilterHandler = (payload: T, meta: Record, context: EventContext) => T | Promise; export type ActionHandler = (meta: Record, context: EventContext) => void; export type InitHandler = (meta: Record) => void; export type ScheduleHandler = () => void | Promise; export type EmbedHandler = () => string; //# sourceMappingURL=events.d.ts.map