/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */
/**
 * Intelligence domain state — tracks AI-assisted developer intelligence
 * features: diagnostics, completions, hover info, and symbol references.
 */
/** Status of an intelligence feature. */
export type IntelligenceFeatureStatus = 'unavailable' | 'loading' | 'ready' | 'degraded';
/** A single LSP diagnostic. */
export interface LspDiagnostic {
    /** Relative file path. */
    filePath: string;
    /** 0-indexed line number. */
    line: number;
    /** 0-indexed column. */
    column: number;
    /** Severity level. */
    severity: 'error' | 'warning' | 'info' | 'hint';
    /** Diagnostic message. */
    message: string;
    /** Diagnostic source (e.g. 'typescript'). */
    source?: string | undefined;
    /** Diagnostic code. */
    code?: string | undefined;
}
/** Symbol information from workspace symbol search. */
export interface WorkspaceSymbol {
    /** Symbol name. */
    name: string;
    /** Symbol kind (LSP SymbolKind integer). */
    kind: number;
    /** Relative file path. */
    filePath: string;
    /** 0-indexed line. */
    line: number;
    /** 0-indexed column. */
    column: number;
}
/** Current completions / hover state. */
export interface IntelligenceHoverState {
    /** Whether hover info is currently displayed. */
    active: boolean;
    /** File path of the hover target. */
    filePath?: string | undefined;
    /** Hover content (Markdown). */
    content?: string | undefined;
    /** Epoch ms when the hover was last updated. */
    updatedAt?: number | undefined;
}
/**
 * IntelligenceDomainState — developer intelligence features.
 */
export interface IntelligenceDomainState {
    /** Monotonic revision counter; increments on every mutation. */
    revision: number;
    /** Timestamp of last mutation (Date.now()). */
    lastUpdatedAt: number;
    /** Subsystem that triggered the last mutation. */
    source: string;
    /** Diagnostics feature status. */
    diagnosticsStatus: IntelligenceFeatureStatus;
    /** Completions feature status. */
    completionsStatus: IntelligenceFeatureStatus;
    /** Symbol search feature status. */
    symbolSearchStatus: IntelligenceFeatureStatus;
    /** Hover feature status. */
    hoverStatus: IntelligenceFeatureStatus;
    /** Current diagnostics keyed by file path. */
    diagnostics: Map<string, LspDiagnostic[]>;
    /** Total error diagnostics across all files. */
    errorCount: number;
    /** Total warning diagnostics across all files. */
    warningCount: number;
    /** Current hover display state. */
    hover: IntelligenceHoverState;
    /** Total LSP requests made this session. */
    totalRequests: number;
    /** Total LSP request errors. */
    totalErrors: number;
    /** Average LSP response latency in ms. */
    avgLatencyMs: number;
}
/**
 * Returns the default initial state for the intelligence domain.
 */
export declare function createInitialIntelligenceState(): IntelligenceDomainState;
//# sourceMappingURL=intelligence.d.ts.map