import { type ScanResult } from './claude-scanner.js'; import type { SessionFileMeta } from './session-filter.js'; export declare function defaultCoworkSessionsDir(): string; /** * Scan Claude Cowork sessions stored under `~/Library/Application Support/Claude/local-agent-mode-sessions/`. * * Structure: //local_/audit.jsonl * Each `local_` directory represents one agent invocation and maps to one session envelope. * * The `audit.jsonl` format is compatible with `parseTranscript` — same `user`/`assistant` event * shapes. Cowork-only event types (`system`, `rate_limit_event`) have no `message` field and are * silently skipped. Sessions use `cowork://session/` URLs to distinguish them from Claude Code * sessions (`claudecode://session/`). * * Returns an empty result when the directory is missing (non-macOS systems, first-time setup, etc.). */ export declare function scanCoworkSessions(options?: { sessionsDir?: string; sinceTime?: Date; preFilter?: (meta: SessionFileMeta) => boolean; }): Promise; //# sourceMappingURL=cowork-scanner.d.ts.map