import type { SelectionRange } from "../../stores/inputChoice"; import type { BaseComponent } from "../base"; import type { StackProps } from "./stack"; export interface InputSingleChoiceProps extends BaseComponent { type: "input_single_choice"; field_id: string; stack: StackProps; required?: boolean; selection_range?: SelectionRange | null; } export interface InputMultipleChoiceProps extends BaseComponent { type: "input_multiple_choice"; field_id: string; stack: StackProps; required?: boolean; selection_range?: SelectionRange | null; } export interface InputOptionProps extends BaseComponent { type: "input_option"; option_id: string; stack: StackProps; }