import type { CodeAwareMode } from '../../services/codebase/codeAwareFeature';
import type { SelectionContext } from '../../agentv3/types';
import type { SceneAnalysisSelection } from '../../agent/scene/types';
export type AnalyzeEndpointKind = '/analyze' | '/sessions/:id/runs';
export type AnalyzePreset = 'smart';
export type AnalyzeMode = 'fast' | 'full' | 'auto';
export type SmartAnalyzeAction = 'preview' | 'analyze';
export interface NormalizedAnalyzeOptions {
    analysisMode: AnalyzeMode;
    preset?: AnalyzePreset;
    codeAwareMode?: CodeAwareMode;
    codebaseIds?: string[];
    generateTracks?: boolean;
    forceRefresh?: boolean;
    selectionContext?: SelectionContext;
    blockedStrategyIds?: string[];
    maxRounds?: number;
    confidenceThreshold?: number;
    maxNoProgressRounds?: number;
    maxFailureRounds?: number;
    maxConcurrentTasks?: number;
    taskTimeoutMs?: number;
    packageName?: string;
    timeRange?: unknown;
    adb?: unknown;
    estimatedSqlMs?: number;
    heavySkill?: boolean;
    longTask?: boolean;
    traceSizeBytes?: number;
    smartAction?: SmartAnalyzeAction;
    smartSelection?: SceneAnalysisSelection;
}
export declare class AnalyzeOptionsError extends Error {
    readonly code: string;
    readonly httpStatus: number;
    constructor(message: string, code: string, httpStatus?: number);
}
export declare function normalizeAnalyzeOptions(rawOptions: unknown, ctx: {
    endpoint: AnalyzeEndpointKind;
    hasReferenceTraceId: boolean;
}): NormalizedAnalyzeOptions;
//# sourceMappingURL=normalizeAnalyzeOptions.d.ts.map