import type { AuditTrailEntry, AuditReadFilters } from '../types/audit.js';
/**
 * Append a single AuditTrailEntry to the JSONL file.
 * Synchronous to guarantee ordering relative to tool responses.
 * Never throws — errors are swallowed so audit failures never affect tool execution.
 */
export declare function appendEntry(entry: AuditTrailEntry): void;
/**
 * Read the hash of the last stored entry.
 * Returns empty string if the file does not exist or has no valid entries.
 * Used to build the prevHash for the next entry.
 */
export declare function getLastHash(): string;
export type { AuditReadFilters };
/**
 * Read all entries from the JSONL file and apply optional filters.
 * Returns an empty array if the file does not exist or is unreadable.
 */
export declare function readEntries(filters?: AuditReadFilters): AuditTrailEntry[];
//# sourceMappingURL=audit-trail-store.d.ts.map