import type { AuditEvent, AppendEventInput } from '../../types/audit-trail.js';
export type { AppendEventInput };
/**
 * Compute SHA-256 hex digest of a string.
 */
export declare function sha256(input: string): string;
/**
 * Append a new audit event to the JSONL log at filePath.
 * Each event's hash is derived from the previous entry's hash, forming a chain.
 * The file is created (with parent dirs) if it does not exist.
 *
 * Writes are serialized per file via a promise queue to prevent race conditions
 * that would break the hash chain when multiple events are appended concurrently.
 */
export declare function appendEvent(filePath: string, input: AppendEventInput): Promise<AuditEvent>;
export { canonicalJson } from './utils.js';
//# sourceMappingURL=logger.d.ts.map