import { type StoreMetaFields } from './shared/storeRead.js'; export interface CritError { error: string; message: string; hint?: string; } export declare function isCritError(result: unknown): result is CritError; /** * Crit - Early creative feedback before decisions crystallize * * Use for: * - Gut reactions ("this feels sluggish") * - Observations ("4-up runs at 45fps") * - Questions ("should we use video fallback?") * - Hunches ("spring physics might be overkill") * * NOT for: * - Final decisions (use designer_record_design_decision) * - Bugs/issues (use sentinel_create_issue) * - Learnings after the fact (use learnings_append) */ export type CritSentiment = 'positive' | 'negative' | 'neutral' | 'question'; export interface LogCritInput { projectId?: string; area: string; observation: string; sentiment?: CritSentiment; context?: string; tags?: string[]; } export interface LogCritOutput { id: string; timestamp: string; path: string; sentiment: CritSentiment; } export interface ListCritsInput { projectId?: string; area?: string; sentiment?: CritSentiment; limit?: number; } export interface CritEntry { timestamp: string; area: string; observation: string; sentiment: CritSentiment; context?: string; tags?: string[]; } export interface ListCritsOutput extends StoreMetaFields { path: string; entries: CritEntry[]; total_count: number; } /** * Log a crit observation */ export declare function logCrit(input: LogCritInput): Promise; /** * List crits for a project */ export declare function listCrits(input: ListCritsInput): Promise; //# sourceMappingURL=crit.d.ts.map