import type { InputSurface } from '../../input/input-surface.js'; import type { SuggestContext, SuggestEngine } from '../../input/suggest.js'; import type { HistorySubmissionTracker } from './surface-setup.history-tracking.js'; export interface SuggestCtxStats { model: string | undefined; cwd?: string | undefined; turns: readonly { user: string; assistant: string; }[]; } export declare function buildSuggestConfig(opts: { enabled: boolean; engine: SuggestEngine; surface: InputSurface; stats: SuggestCtxStats; apiKey: string | undefined; baseUrl: string | undefined; historyTracker: HistorySubmissionTracker; }): { suggest: { engine: SuggestEngine; getContext: () => SuggestContext; }; } | Record;