export interface TeamCredential { apiKey: string; teamId: string; teamName: string; } export interface HandrailsConfig { apiUrl: string; /** Default API key (used when no project-specific team is set) */ apiKey: string; /** Default team (from the default API key) */ teamId: string; teamName: string; /** All authenticated teams, keyed by teamId */ teams: Record; autoSync: boolean; hooksInstalled: boolean; projects: Record; } export interface ProjectConfig { projectTag: string; /** Which team this project belongs to (teamId). Falls back to default if unset. */ teamId?: string; lastSync: string | null; } export interface SessionIndexEntry { sessionId: string; fullPath: string; fileMtime: number; firstPrompt: string; summary: string; messageCount: number; created: string; modified: string; gitBranch: string; projectPath: string; isSidechain: boolean; } export interface SessionIndex { version: number; entries: SessionIndexEntry[]; } export interface ClaudeSettings { hooks?: { Stop?: Array<{ command: string; matcher?: string; }>; PreToolUse?: Array<{ command: string; matcher?: string; }>; PostToolUse?: Array<{ command: string; matcher?: string; }>; }; [key: string]: any; } export declare const DEFAULT_CONFIG: HandrailsConfig;