import type { SiteContext } from "../../site-context/site-context.types.js";
export interface EventLogQueryResult {
    items: EventLogEntryRow[];
    total: number;
    offset: number;
}
export interface EventLogEntryRow {
    id: string;
    eventType: string;
    actorEmail?: string;
    actorName?: string;
    targetType: string;
    targetId: string;
    eventData?: string;
    createdAt: Date;
}
export declare function getEventLog(siteContext: Pick<SiteContext, "cn">, options: {
    offset: number;
    limit: number;
    searchText?: string;
}): Promise<EventLogQueryResult>;
export declare function cleanupOldEventLogEntries(siteContext: Pick<SiteContext, "cn">, { retainCount }: {
    retainCount: number;
}): Promise<number>;
