/** * Structured user interaction from within effects — define typed * interaction requests (confirm, select, input, multiSelect) that * can be rendered into agent prompts and parsed back into typed * responses (GAP-TOOLS-026). */ export type InteractionType = 'confirm' | 'select' | 'input' | 'multiSelect'; export interface InteractionRequest { type: InteractionType; question: string; options?: string[]; default?: string; } export interface InteractionResponse { type: InteractionType; answer: string | string[]; answeredAt: string; } export interface InteractionRequestOptions { options?: string[]; default?: string; } /** * Create a typed interaction request. */ export declare function createInteractionRequest(type: InteractionType, question: string, opts?: InteractionRequestOptions): InteractionRequest; /** * Render an interaction request as text suitable for injection into * an agent prompt. */ export declare function formatInteractionForPrompt(request: InteractionRequest): string; //# sourceMappingURL=structuredInteraction.d.ts.map