/** * Sanitize session ID to prevent path traversal attacks. * Returns null if the session ID is invalid. * @internal Exported for testing */ export declare function sanitizeSessionIdForFilename(sessionId: string): string | null; /** * Write an audit log entry for a denied command. * Logs are written to ~/.cc-safety-net/logs/.jsonl */ export declare function writeAuditLog(sessionId: string, command: string, segment: string, reason: string, cwd: string | null, options?: { homeDir?: string; }): void; /** * Redact secrets from text to avoid leaking sensitive information in logs. */ export declare function redactSecrets(text: string): string;