/** * Storage configuration for browser monitoring * Mirrors the pattern from src/storage.ts but for browser logs */ export declare const BROWSER_MCP_DIR: string; export declare const BROWSER_ACTIVE_DIR: string; export declare const BROWSER_INACTIVE_DIR: string; /** * Ensure the browser storage directory exists */ export declare function ensureBrowserStorageExists(): void; /** * Get browser session IDs for a specific project directory (LIVE SESSIONS ONLY) * @param projectDir The project directory to filter by * @param liveOnly If true, only return currently active sessions (default: true) * @returns Array of session IDs for this project (most recent first) */ export declare function getBrowserSessionIdsForProject(projectDir: string, liveOnly?: boolean): string[]; /** * Get all browser session log files sorted by modification time (most recent first) * @param limit Optional limit on number of files to return * @param projectDir Optional project directory to filter by * @param liveOnly If true, only return active sessions (default: true) * @returns Array of full file paths */ export declare function getBrowserSessionLogFiles(limit?: number, projectDir?: string, liveOnly?: boolean): string[]; /** * Get the most recently used project directory from the browser master index * @returns The project directory of the most recent browser session, or null if none found */ export declare function getMostRecentBrowserProjectDir(): string | null; /** * Read last N lines from multiple browser session files (LIVE SESSIONS ONLY) * @param totalLines Total number of lines to read across all files * @param maxFiles Maximum number of session files to read * @param projectDir Optional project directory to filter by (defaults to most recent project) * @param liveOnly If true, only read from active sessions (default: true) * @returns Combined log content, prioritizing most recent sessions */ export declare function readRecentBrowserLogs(totalLines: number, maxFiles?: number, projectDir?: string, liveOnly?: boolean): string; //# sourceMappingURL=browser-storage.d.ts.map