export interface DebugSession {
    id: number;
    timestamp: string;
    file: string;
    method: 'console.log' | 'debugger' | 'breakpoint' | 'step-through' | 'watch' | 'other';
    durationMs: number;
    resolved: boolean;
    resolutionTimeMs: number | null;
}
export interface DebugStyle {
    totalSessions: number;
    methodBreakdown: Record<string, number>;
    preferredMethod: string;
    consoleLogPercent: number;
    debuggerPercent: number;
    avgResolutionTimeMs: number;
    efficiencyScore: number;
    recommendation: string;
}
export interface PromptEntry {
    id: number;
    timestamp: string;
    tool: string;
    promptLength: number;
    wordCount: number;
    hasCodeBlock: boolean;
    hasContextRef: boolean;
    iterationCount: number;
    accepted: boolean;
    responseQuality: number;
}
export interface PromptStyle {
    totalPrompts: number;
    avgWordCount: number;
    preferredStyle: string;
    structureBreakdown: Record<string, number>;
    avgIterations: number;
    acceptanceRate: number;
    bestPromptLength: string;
    recommendation: string;
}
export interface FocusBlock {
    id: number;
    timestamp: string;
    file: string;
    durationMs: number;
    switchCount: number;
    type: 'deep' | 'shallow' | 'scattered';
}
export interface FocusAnalysis {
    totalFocusTimeMs: number;
    deepWorkPercent: number;
    shallowWorkPercent: number;
    avgFocusBlockMs: number;
    longestFocusMs: number;
    focusScore: number;
    peakFocusHour: number;
    recommendation: string;
}
export interface TabSwitch {
    id: number;
    timestamp: string;
    fromFile: string;
    toFile: string;
    contextSwitchCostMs: number;
}
export interface CopyPasteEvent {
    id: number;
    timestamp: string;
    source: 'external' | 'internal' | 'ai' | 'unknown';
    sourceUrl: string | null;
    contentLength: number;
    file: string;
    knowledgeGap: boolean;
}
export interface RefactorEvent {
    id: number;
    timestamp: string;
    file: string;
    type: 'rename' | 'extract' | 'move' | 'inline' | 'restructure' | 'other';
    linesChanged: number;
    aiAssisted: boolean;
}
export interface StuckEvent {
    id: number;
    timestamp: string;
    file: string;
    stuckDurationMs: number;
    resolved: boolean;
    soughtHelp: boolean;
    helpSource: string | null;
}
export interface IDEInsights {
    debug: DebugStyle;
    prompt: PromptStyle;
    focus: FocusAnalysis;
    copyPaste: CopyPasteEvent[];
    refactor: RefactorEvent[];
    stuck: StuckEvent[];
    overallScore: number;
    topInsights: string[];
}
export declare function initializeIDETables(): void;
export declare function recordDebugSession(file: string, method: DebugSession['method'], durationMs: number, resolved?: boolean, resolutionTimeMs?: number | null): number;
export declare function getDebugStyle(): DebugStyle;
export declare function recordPromptEntry(tool: string, promptLength: number, wordCount: number, hasCodeBlock: boolean, hasContextRef: boolean, iterationCount?: number, accepted?: boolean, responseQuality?: number): number;
export declare function getPromptStyle(): PromptStyle;
export declare function recordFocusBlock(file: string, durationMs: number, switchCount: number): number;
export declare function recordTabSwitch(fromFile: string, toFile: string, costMs?: number): number;
export declare function getFocusAnalysis(): FocusAnalysis;
export declare function recordCopyPaste(source: CopyPasteEvent['source'], sourceUrl: string | null, contentLength: number, file: string, knowledgeGap?: boolean): number;
export declare function recordRefactor(file: string, type: RefactorEvent['type'], linesChanged: number, aiAssisted?: boolean): number;
export declare function recordStuck(file: string, stuckDurationMs: number, resolved?: boolean, soughtHelp?: boolean, helpSource?: string | null): number;
export declare function getCopyPasteInsights(): CopyPasteEvent[];
export declare function getRefactorInsights(): RefactorEvent[];
export declare function getStuckInsights(): StuckEvent[];
export declare function getIDEInsights(): IDEInsights;
//# sourceMappingURL=ide-intelligence.d.ts.map