import type Database from 'better-sqlite3'; import type { AppEvent } from '../types.js'; export interface CreateEventInput { readonly entity_type: string; readonly entity_id: string; readonly event_type: string; readonly payload_json?: string; } export declare class EventRepository { private readonly db; constructor(db: Database.Database); append(input: CreateEventInput): AppEvent; findByEntity(entityType: string, entityId: string): readonly AppEvent[]; findByType(eventType: string): readonly AppEvent[]; findRecent(limit?: number): readonly AppEvent[]; } //# sourceMappingURL=event.d.ts.map