import type { Row, TableDef } from '../types.ts'; export interface AuditContext { eventType: string; user: string; text: string | null; } export declare const auditTableName: (tableName: string) => string; export declare function auditTableDef(tableName: string, def: TableDef): TableDef; export declare function withAuditTables(tables: Record): Record; export declare function checkNotDeclared(tables: Record, name: string, def: TableDef | undefined): void; export declare const isAudited: (def: TableDef) => boolean; export declare function auditRecord(record: Row, context: AuditContext, now: number): Row;