import type { Constitution, ClarificationSession, NLIContext, UserPattern, CalibrationMetrics, CalibrationState, FeedbackLoopEvent, ContributedContext, ContributeContextResult, ContextSource } from '../../types/index.js';
export declare function getConstitution(projectId: string): Promise<Constitution | null>;
export declare function saveConstitution(projectId: string, constitution: Constitution): Promise<void>;
export declare function updateConstitution(projectId: string, updates: Partial<Constitution>): Promise<Constitution>;
export declare function listClarifications(projectId: string): Promise<ClarificationSession[]>;
export declare function getClarification(projectId: string, sessionId: string): Promise<ClarificationSession | null>;
export declare function addClarification(projectId: string, session: ClarificationSession): Promise<ClarificationSession>;
export declare function updateClarification(projectId: string, sessionId: string, updates: Partial<ClarificationSession>): Promise<ClarificationSession>;
export declare function deleteClarification(projectId: string, sessionId: string): Promise<boolean>;
export declare function getNLIContext(projectId: string): Promise<NLIContext>;
export declare function saveNLIContext(projectId: string, context: NLIContext): Promise<void>;
export declare function addUserPattern(projectId: string, pattern: UserPattern): Promise<NLIContext>;
export declare function appendConversationMemory(projectId: string, entries: string[], maxEntries?: number): Promise<NLIContext>;
export declare function clearNLIContext(projectId: string): Promise<void>;
export declare function saveCalibrationMetrics(projectId: string, metrics: CalibrationMetrics): Promise<CalibrationState>;
export declare function loadCalibrationState(projectId: string): Promise<CalibrationState | null>;
export declare function saveFeedbackEvent(projectId: string, event: FeedbackLoopEvent): Promise<void>;
export declare function loadFeedbackHistory(projectId: string, type?: FeedbackLoopEvent['type']): Promise<FeedbackLoopEvent[]>;
export declare function mergeContributedContext(projectId: string, context: ContributedContext, source: ContextSource): Promise<ContributeContextResult>;
//# sourceMappingURL=sessions.d.ts.map