import type { RichBlock, ModalDefinition, ActionElement } from './types.js'; import type { ChatNoticeLevel } from '../core/types/agent-types.js'; /** Normalize a caller-supplied level ('warn' alias accepted) to a ChatNoticeLevel, or null if invalid. */ export declare function normalizeAskLevel(value: unknown): ChatNoticeLevel | null; /** Icon for an explicit ask level; '' when the level is absent (legacy neutral look). */ export declare function askLevelIcon(level: ChatNoticeLevel | null | undefined): string; export interface QuestionOption { label: string; description?: string; } export interface QuestionRecord { pendingId: string; header: string; question: string; options: QuestionOption[]; multiSelect: boolean; } export interface QuestionGroup { groupId: string; questions: QuestionRecord[]; answers: Map; /** Optional severity of the whole card — explicit levels render a banner/icon prefix. */ level?: ChatNoticeLevel | null; } export declare function buildQuestionGroupBlocks(group: QuestionGroup): RichBlock[]; export declare function buildQuestionModalDefinition(group: QuestionGroup): ModalDefinition; export declare function buildPlanApprovalContent(requestId: string): { richBlocks: RichBlock[]; actions: ActionElement[]; }; export declare function buildPlanFeedbackModal(requestId: string): ModalDefinition;