export type AuditAction = 'create' | 'modify' | 'delete' | 'daemon';
export interface AuditEntry {
    ts: string;
    action: AuditAction;
    project: string;
    detail?: string;
    source?: string;
}
/** 追加一条审计(失败静默)。 */
export declare function appendAudit(e: {
    action: AuditAction;
    project: string;
    detail?: string;
    source?: string;
}): void;
/** 读审计(最新在前,可按项目/动作过滤、限条数)。 */
export declare function readAudit(opts?: {
    limit?: number;
    project?: string;
    action?: AuditAction;
}): AuditEntry[];
//# sourceMappingURL=auditLog.d.ts.map