export type ContinuityModeStatus = "inactive" | "active" | "paused" | "archived";
export interface ContinuityToolSummary {
    toolName: string;
    isError: boolean;
}
export interface ContinuityCheckpoint {
    timestamp: number;
    reason: "turn" | "loop_end" | "user_intent";
    messageStopReason?: string;
    toolResultCount?: number;
    newMessageCount: number;
    toolSummaries?: ContinuityToolSummary[];
    modifiedFiles?: string[];
    validation?: string;
}
export interface ContinuityPlanEntry {
    id: string;
    timestamp: number;
    intent: string;
    text: string;
}
export interface ContinuityQueueItem {
    id: string;
    status: "pending" | "in_progress" | "done" | "blocked" | "partial" | "cancelled";
    title: string;
    createdAt: number;
    updatedAt: number;
    sourceIntent?: string;
    notes: string[];
}
export interface ContinuityDecisionEntry {
    timestamp: number;
    intent: string;
    text: string;
}
export interface ContinuityLastUserIntent {
    intent: string;
    confidence: number;
    reason: string;
    text: string;
    timestamp: number;
}
export interface ContinuityState {
    version: 1;
    updatedAt: number;
    cwd: string;
    status: ContinuityModeStatus;
    goal?: string;
    currentTask?: string;
    blockedOn: string[];
    openQuestions: string[];
    modifiedFiles: string[];
    lastValidatedAt?: number;
    handoffSummary?: string;
    plan: ContinuityPlanEntry[];
    queue: ContinuityQueueItem[];
    decisions: ContinuityDecisionEntry[];
    checkpoints: ContinuityCheckpoint[];
    lastUserIntent?: ContinuityLastUserIntent;
    nextAction?: string;
}
export interface ContinuityPaths {
    dir: string;
    state: string;
    context: string;
    plan: string;
    queue: string;
    decisionLog: string;
    nextAction: string;
}
export declare function getContinuityPaths(cwd: string): ContinuityPaths;
export declare function createEmptyContinuityState(cwd: string): ContinuityState;
export declare function loadContinuityState(cwd: string): Promise<ContinuityState>;
export declare function saveContinuityState(state: ContinuityState): Promise<void>;
export declare function renderContinuityContext(state: ContinuityState): string;
export declare function renderContinuityPlan(state: ContinuityState): string;
export declare function renderContinuityQueue(state: ContinuityState): string;
export declare function renderContinuityDecisionLog(state: ContinuityState): string;
//# sourceMappingURL=continuity-files.d.ts.map