import { NodeType, SubotFormSubmitMeta, SubotMessage, SubotNodeAction, SubotNodeIntent, SubotNodeMessage } from "./"; export type SubotInlineNodeProps = { node: SubotNodeMessage; indexNumber?: number; }; export type SubotInlineIntentProps = { intents: Array; indexNumber?: number; }; export type SubotInlineIntentItemProps = { intent: SubotNodeIntent; indexNumber?: number; }; export interface SubotInlineActionItemProps { node_type?: NodeType; value?: SubotFormSubmitMeta | string; action?: SubotNodeAction; onChange?: (action?: any, formSubmitMeta?: SubotMessage['form_submit_meta']) => void; active?: boolean; htmlType?: 'radio' | 'checkbox'; formSubmitMeta?: SubotMessage['form_submit_meta']; } export interface SubotInlineActionProps { htmlType?: 'radio' | 'checkbox'; actions?: Array; value?: Array; onChange?: (value?: SubotNodeAction) => void; node_type?: NodeType; formSubmitMeta?: SubotMessage['form_submit_meta']; } export type FrisoFormFieldProps = { name?: string; first_name?: string; last_name?: string; dob: Date; phone: string; email: string; address: any; term: boolean; };