export interface ContinuityThread {
    project: string;
    threadId: string;
    activeSince: string;
    lastActiveAt: string;
    sessionCount: number;
    contextTags: string[];
    openQuestions: string[];
    pendingActions: string[];
    keyLearnings: string[];
    decisionLog: Array<{
        what: string;
        why: string;
        when: string;
    }>;
    fileFocus: string[];
    threadIntent: string;
    bridgeHints: BridgeHint[];
}
export interface BridgeHint {
    type: 'remember' | 'continue' | 'watch_out' | 'prediction' | 'decision';
    text: string;
    confidence: number;
    fromSessionId: number;
    createdAt: string;
}
export interface ContinuityContext {
    currentThread: ContinuityThread | null;
    recentThreads: ContinuityThread[];
    crossSessionWarnings: string[];
    predictedNextSteps: string[];
    memoryThread: string;
}
export declare function getActiveThread(projectDir: string): ContinuityThread | null;
export declare function getAllThreads(projectDir: string): ContinuityThread[];
export declare function detectOrCreateThread(projectDir: string, project: string, recentDecisions: string[], touchedFiles: string[]): ContinuityThread;
export declare function closeThread(projectDir: string): void;
export declare function addBridgeHint(projectDir: string, hint: BridgeHint): void;
export declare function addOpenQuestion(projectDir: string, question: string): void;
export declare function resolveQuestion(projectDir: string, question: string): void;
export declare function addPendingAction(projectDir: string, action: string): void;
export declare function addKeyLearning(projectDir: string, learning: string): void;
export declare function addDecision(projectDir: string, what: string, why: string): void;
export declare function updateFileFocus(projectDir: string, files: string[]): void;
export declare function buildContinuityContext(projectDir: string, project: string): ContinuityContext;
export declare function captureSessionEnd(projectDir: string, project: string, decisions: string[], files: string[], approaches: Array<{
    approach: string;
    status: string;
}>, questions: Array<{
    question: string;
    resolved: boolean;
}>): void;
export declare function getContinuityBlock(context: ContinuityContext): string;
//# sourceMappingURL=context-continuity.d.ts.map