UNPKG

@forbespro/lead-agent

Version:
57 lines (56 loc) 1.27 kB
export type Message = { id: string; sender: "bot" | "user" | "ai"; text: string; timestamp: Date; isLoading?: boolean; type?: "text" | "product" | "website" | "booking"; data?: any; }; export type ChatStep = { id: string; message: string; type: "input" | "buttons" | "rating" | "select" | "sector"; inputType?: string; placeholder?: string; required?: boolean; options?: string[]; isAI?: boolean; data?: any; }; export type StageCallback = (stageName: string, data?: any) => void; export type ChatbotWidgetProps = { onStageComplete?: StageCallback; }; export type FormData = { name: string; businessName: string; businessAddress: string; businessType: string; productInterest: string; email: string; phone: string; sector: string; additionalNotes: string; quantity: string; rating: number; }; export type ClaudeMessage = { role: "user" | "assistant"; content: string; }; export type ContentBlock = { type: string; [key: string]: any; }; export type AlgoliaProduct = { [key: string]: any; }; export declare const STAGES: { id: string; label: string; }[]; export declare const industries: { label: string; value: string; }[];