import { ProviderId } from './providers'; export interface SessionInfo { provider: 'claude' | 'opencode' | string; id: string; name: string; updated: number; active?: boolean; } /** List sessions for a workspace. If `provider` is omitted, infer the family * from settings and include claude + opencode (the inspectable stores). */ export declare function collectSessions(root: string, provider?: ProviderId): SessionInfo[];