export type Technique = 'six_hats' | 'provocation' | 'random_entry' | 'challenge' | 'alternatives' | 'reversal'; export declare const VALID_TECHNIQUES: Technique[]; export type HatColor = 'white' | 'red' | 'black' | 'yellow' | 'green' | 'blue'; export declare const VALID_HATS: HatColor[]; export interface LateralError { error: string; message: string; hint?: string; } export declare function isLateralError(result: unknown): result is LateralError; export interface SixHatsInput { hat: HatColor; thinking: string; } export interface ProvocationInput { po_statement: string; movement: string; insights: string[]; } export interface RandomEntryInput { stimulus?: string; connections: string[]; promising_leads: string[]; } export interface ChallengeInput { assumption: string; why_exists: string; what_if_false: string; alternative_framing: string; } export interface AlternativesInput { focus: string; concept_level: string; alternatives: Array<{ idea: string; approach: string; }>; } export interface ReversalInput { original: string; reversed: string; insights_from_reversal: string[]; } export type TechniqueInput = SixHatsInput | ProvocationInput | RandomEntryInput | ChallengeInput | AlternativesInput | ReversalInput; export interface TechniqueEntry { entry_id: string; technique: Technique; timestamp: string; data: TechniqueInput; } export interface LateralSession { session_id: string; project_id: string; problem: string; context?: string; status: 'open' | 'closed'; created_at: string; closed_at?: string; entries: TechniqueEntry[]; synthesis?: string; action_items?: string[]; linked_to?: string[]; } export interface StartSessionInput { projectId?: string; session_id?: string; problem?: string; context?: string; } export interface StartSessionOutput { session_id: string; problem: string; status: 'open' | 'closed'; techniques_applied: string[]; path: string; } export interface ApplyTechniqueInput { projectId?: string; session_id: string; technique: Technique; input: Record; } export interface ApplyTechniqueOutput { entry_id: string; recorded: boolean; guidance: string; session_progress: { techniques_applied: string[]; entry_count: number; }; } export interface CloseSessionInput { projectId?: string; session_id: string; synthesis: string; action_items?: string[]; link_to?: string[]; } export interface CloseSessionOutput { session_id: string; path: string; summary_path: string; techniques_applied: number; } /** Recommended Six Hats sequence: Blue > White > Red > Black > Yellow > Green > Blue */ export declare const HAT_ORDER: HatColor[]; /** Guidance for each hat color (de Bono's parallel thinking) */ export declare const HAT_GUIDANCE: Record; /** ~100 concrete nouns for random entry technique */ export declare const RANDOM_STIMULI: string[]; export declare function startSession(input: StartSessionInput): Promise; export declare function applyTechnique(input: ApplyTechniqueInput): Promise; export declare function closeSession(input: CloseSessionInput): Promise; //# sourceMappingURL=lateral.d.ts.map