export interface TurnProjectRoutingHost {
    getActiveProjectRoot(): string;
    setActiveWorkdir(workdir: string): void;
    log(message: string): void;
    sendNotification(method: string, params: Record<string, unknown>): void;
}
export interface StaleProjectHintContext {
    activeProjectName?: string;
    projectNames: string[];
}
export interface TurnProjectRoutingResult {
    sessionProjectRoot: string;
    sessionProjectId?: string;
    projectHintStale: boolean;
    staleProjectHintContext?: StaleProjectHintContext;
}
export declare function routeTurnProjectContext(params: {
    config?: Record<string, unknown>;
    sessionId?: string;
    host: TurnProjectRoutingHost;
    nowMs?: number;
}): TurnProjectRoutingResult;
