import type { EventHandler, EventHandlerCtx, EventSchemaOverride, RequestReplyDef } from '../types.ts'; import type { RaisedNotification } from './notifyDispatch.ts'; export interface ReportingOptions { userOf(ctx: EventHandlerCtx): string; timeZone?: string; datasources?: string[]; notify?: (ctx: EventHandlerCtx, user: string, notification: RaisedNotification) => void; } export interface ReportingBacking { eventHandlers: Record; eventSchemas: Record; requestReplies: Record; } export declare function reportingBacking(options: ReportingOptions): ReportingBacking;