import type { Companion, ChannelSession, PartnerState } from '../domain.js'; export interface HabitEvidence { id: string; at: number; excerpt: string; } export interface CompanionHabit { id: string; text: string; kind: 'interest' | 'expression'; scope: string; status: 'candidate' | 'active' | 'paused'; evidence: HabitEvidence[]; createdAt: number; updatedAt: number; baseline: string; } export interface HabitCheck { at: number; outcome: 'changed' | 'unchanged' | 'failed'; reason: string; } export declare const habitsEnabled: (c: Companion) => boolean; export declare const habitBaseline: (c: Companion) => string; export declare function habitScope(route: ChannelSession): string; export declare function habitRoute(state: PartnerState, c: Companion, route: ChannelSession | undefined): route is ChannelSession; export declare function visibleHabits(c: Companion, scope?: string, now?: number): CompanionHabit[]; export declare function renderHabits(c: Companion, scope?: string): string; /** Generic feedback qualification, never role-specific vocabulary or desired catchphrases. */ export declare function durableExpressionFeedback(value: string, semantic?: boolean): boolean; export declare function observeHabit(c: Companion, scope: string, raw: unknown, evidence: HabitEvidence, now?: number): boolean; export declare function validateHabits(c: Companion): void; export declare function habitData(c: Companion): { habits: CompanionHabit[]; check: HabitCheck | undefined; inactiveIds: string[]; }; //# sourceMappingURL=habits.d.ts.map