import { type TaskIntent } from "./taskIntent.js"; import type { ContextPackResult, ContextStatus } from "./types.js"; export type AuthSemanticCategory = "auth_login_flow" | "session_store_or_validation" | "api_auth_entrypoint" | "api_session_entrypoint" | "frontend_login_ui"; export interface AuthSelectionTrace { path: string; category: AuthSemanticCategory | "normal_ranking"; matchedSignals: string[]; score: number; selectedBy: "category_coverage" | "normal_ranking"; beforeBudgetCap: boolean; } export interface FileSignalContext { path: string; pathLower: string; basename: string; symbols: Array<{ name: string; kind?: string; }>; reason: string; } export declare function getLastAuthProofSelectionTrace(): AuthSelectionTrace[]; export declare function clearAuthProofSelectionTrace(): void; export declare function scoreFileSemanticCategories(file: ContextPackResult["files"][number], symbols: ContextPackResult["symbols"]): Array<{ category: AuthSemanticCategory; score: number; signals: string[]; reason: string; }>; export declare function isProofMinimalMode(): boolean; export declare function compactContextStatus(status: ContextStatus): ContextStatus; export declare function slimSkillProofPack(pack: ContextPackResult, intent: TaskIntent, task: string, root?: string, filePool?: ContextPackResult["files"]): ContextPackResult; export declare function slimAuthProofPack(pack: ContextPackResult, intent: TaskIntent, task: string, root?: string, filePool?: ContextPackResult["files"]): ContextPackResult;