@kite-copilot/chat-panel 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,179 @@
1
+ export { d as ActionData, A as ActionType, C as ChatPanel, b as ChatPanelProps, K as KiteChatConfig, a as KiteChatInstance, N as NavigationTarget, P as Page, S as SettingsTab, c as createKiteChat } from './createKiteChat-C67AkIPX.cjs';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+ import * as React from 'react';
5
+ import { VariantProps } from 'class-variance-authority';
6
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
7
+ import { ClassValue } from 'clsx';
8
+
9
+ declare const buttonVariants: (props?: ({
10
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
11
+ size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
12
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
13
+ declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
14
+ asChild?: boolean;
15
+ }): react_jsx_runtime.JSX.Element;
16
+
17
+ declare function Input({ className, type, ...props }: React.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
18
+
19
+ declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
+ declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
21
+
22
+ declare function Card({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
23
+ declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
24
+ declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
25
+ declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
26
+ declare function CardAction({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
27
+ declare function CardContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
28
+ declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
29
+
30
+ type Subscription = {
31
+ id: string;
32
+ customer_id: string;
33
+ customer_email?: string;
34
+ plan: "Starter" | "Professional" | "Enterprise";
35
+ status: string;
36
+ billing_cycle: string;
37
+ amount: number;
38
+ currency: string;
39
+ current_period_start: string;
40
+ current_period_end: string;
41
+ created_at: string;
42
+ };
43
+ type Customer = {
44
+ id: number;
45
+ name: string;
46
+ email: string;
47
+ status: "active" | "inactive";
48
+ revenue: string;
49
+ joinDate: string;
50
+ subscription: "Starter" | "Professional" | "Enterprise";
51
+ location: string;
52
+ };
53
+ type Transaction = {
54
+ id: number;
55
+ customer: string;
56
+ email: string;
57
+ amount: string;
58
+ status: "paid" | "failed" | "pending" | "refunded";
59
+ date: string;
60
+ decline_reason?: string;
61
+ blocked_by_rule?: string;
62
+ };
63
+ type ApiKey = {
64
+ name: string;
65
+ key: string;
66
+ lastUsed: string;
67
+ };
68
+ type Session = {
69
+ device: string;
70
+ location: string;
71
+ time: string;
72
+ };
73
+ type DashboardStats = {
74
+ revenue?: {
75
+ total: number;
76
+ change: number;
77
+ };
78
+ subscriptions?: {
79
+ active: number;
80
+ total: number;
81
+ };
82
+ customers?: {
83
+ total: number;
84
+ new: number;
85
+ };
86
+ transactions?: {
87
+ successful: number;
88
+ failed: number;
89
+ };
90
+ };
91
+ declare function SubscriptionCard({ subscription }: {
92
+ subscription: Subscription;
93
+ }): react_jsx_runtime.JSX.Element;
94
+ declare function SubscriptionList({ subscriptions, maxItems }: {
95
+ subscriptions: Subscription[];
96
+ maxItems?: number;
97
+ }): react_jsx_runtime.JSX.Element;
98
+ declare function CustomerCard({ customer }: {
99
+ customer: Customer;
100
+ }): react_jsx_runtime.JSX.Element;
101
+ declare function CustomerList({ customers, maxItems }: {
102
+ customers: Customer[];
103
+ maxItems?: number;
104
+ }): react_jsx_runtime.JSX.Element;
105
+ declare function TransactionList({ transactions, maxItems }: {
106
+ transactions: Transaction[];
107
+ maxItems?: number;
108
+ }): react_jsx_runtime.JSX.Element;
109
+ declare function ApiKeyList({ apiKeys }: {
110
+ apiKeys: ApiKey[];
111
+ }): react_jsx_runtime.JSX.Element;
112
+ declare function SessionList({ sessions }: {
113
+ sessions: Session[];
114
+ }): react_jsx_runtime.JSX.Element;
115
+ declare function DashboardStatsCard({ stats }: {
116
+ stats: DashboardStats;
117
+ }): react_jsx_runtime.JSX.Element;
118
+ declare function TopCustomersList({ customers }: {
119
+ customers: Array<{
120
+ name: string;
121
+ email: string;
122
+ revenue: number | string;
123
+ }>;
124
+ }): react_jsx_runtime.JSX.Element;
125
+ declare function DataRenderer({ type, data }: {
126
+ type: string;
127
+ data: any;
128
+ }): react_jsx_runtime.JSX.Element | null;
129
+
130
+ type ActivityPhase = "thinking" | "searching" | "executing" | "responding";
131
+ type ProgressStep = {
132
+ message: string;
133
+ completed: boolean;
134
+ };
135
+ declare function AssistantActivity({ phase, progressSteps }: {
136
+ phase: ActivityPhase;
137
+ progressSteps?: ProgressStep[];
138
+ }): react_jsx_runtime.JSX.Element;
139
+
140
+ type LinkItem = {
141
+ label: string;
142
+ href: string;
143
+ };
144
+ declare function AssistantSearchSummary({ title, links, }: {
145
+ title: string;
146
+ links: LinkItem[];
147
+ }): react_jsx_runtime.JSX.Element;
148
+
149
+ interface GuideCursorProps {
150
+ x: number;
151
+ y: number;
152
+ visible: boolean;
153
+ onClick?: boolean;
154
+ }
155
+ declare function GuideCursor({ x, y, visible, onClick }: GuideCursorProps): react_jsx_runtime.JSX.Element;
156
+
157
+ interface CursorTarget {
158
+ selector: string;
159
+ offset?: {
160
+ x: number;
161
+ y: number;
162
+ };
163
+ onClick?: boolean;
164
+ }
165
+ declare function useGuideCursor(): {
166
+ cursorState: {
167
+ x: number;
168
+ y: number;
169
+ visible: boolean;
170
+ onClick: boolean;
171
+ };
172
+ moveTo: (target: CursorTarget) => void;
173
+ hide: () => void;
174
+ show: () => void;
175
+ };
176
+
177
+ declare function cn(...inputs: ClassValue[]): string;
178
+
179
+ export { ApiKeyList, AssistantActivity, AssistantSearchSummary, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CustomerCard, CustomerList, DashboardStatsCard, DataRenderer, GuideCursor, Input, ScrollArea, ScrollBar, SessionList, SubscriptionCard, SubscriptionList, TopCustomersList, TransactionList, buttonVariants, cn, useGuideCursor };
package/dist/index.d.ts CHANGED
@@ -1,235 +1,37 @@
1
+ export { d as ActionData, A as ActionType, C as ChatPanel, b as ChatPanelProps, K as KiteChatConfig, a as KiteChatInstance, N as NavigationTarget, P as Page, S as SettingsTab, c as createKiteChat } from './createKiteChat-C67AkIPX.js';
1
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
4
+ import * as React from 'react';
4
5
  import { VariantProps } from 'class-variance-authority';
5
6
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
6
7
  import { ClassValue } from 'clsx';
7
8
 
8
- /**
9
- * @kite-copilot/chat-panel - Type Definitions
10
- *
11
- * All types are exported for consumers who want strict typing.
12
- * Page and SettingsTab are kept as string unions for flexibility.
13
- */
14
- type Page = string;
15
- type SettingsTab = string;
16
- interface NavigationTarget {
17
- page: Page;
18
- subtab?: SettingsTab;
19
- }
20
- type ActionType = "updateCompanyInfo" | "addApiKey" | "addCustomer" | "enable2FA" | "disable2FA" | "changePassword" | "revokeSession" | "toggleNotification" | "connectIntegration" | "disconnectIntegration" | "addPaymentMethod" | "removePaymentMethod" | "deleteApiKey" | "addWebhook" | "updateCurrency" | "updateTimezone" | "refundPayment" | "createSubscription" | "exportCertificate" | "toggleBlockRule" | "enableBlockRule" | "disableBlockRule" | string;
21
- interface CompanyInfoData {
22
- companyName?: string;
23
- email?: string;
24
- address?: string;
25
- phone?: string;
26
- website?: string;
27
- }
28
- interface ApiKeyData {
29
- name?: string;
30
- keyId?: string;
31
- }
32
- interface CustomerData {
33
- name?: string;
34
- email?: string;
35
- location?: string;
36
- subscription?: "Starter" | "Professional" | "Enterprise" | string;
37
- }
38
- interface PasswordData {
39
- currentPassword?: string;
40
- newPassword?: string;
41
- confirmPassword?: string;
42
- }
43
- interface NotificationData {
44
- notificationType?: "paymentReceived" | "paymentFailed" | "invoicePaid" | "monthlySummary" | "productUpdates" | string;
45
- enabled?: boolean;
46
- }
47
- interface IntegrationData {
48
- integrationName?: "Slack" | "Zapier" | "Webhook" | string;
49
- }
50
- interface SessionData {
51
- sessionId?: string;
52
- device?: string;
53
- }
54
- interface PaymentMethodData {
55
- cardNumber?: string;
56
- expiryDate?: string;
57
- }
58
- interface WebhookData {
59
- url?: string;
60
- name?: string;
61
- }
62
- interface CurrencyData {
63
- currency?: "USD" | "EUR" | "GBP" | "JPY" | string;
64
- }
65
- interface TimezoneData {
66
- timezone?: "America/Los_Angeles" | "America/New_York" | "Europe/London" | "Asia/Tokyo" | string;
67
- }
68
- interface RefundData {
69
- transactionId?: string;
70
- customer?: string;
71
- amount?: string;
72
- reason?: string;
73
- }
74
- interface SubscriptionData {
75
- customerEmail?: string;
76
- customerId?: string;
77
- plan?: "Starter" | "Professional" | "Enterprise" | string;
78
- billingCycle?: "monthly" | "yearly" | string;
79
- }
80
- interface CertificateData {
81
- format?: "pdf" | "json" | string;
82
- }
83
- interface BlockRuleData {
84
- ruleId?: string;
85
- ruleName?: string;
86
- disabled?: boolean;
87
- }
88
- type ActionData = CompanyInfoData | ApiKeyData | CustomerData | PasswordData | NotificationData | IntegrationData | SessionData | PaymentMethodData | WebhookData | CurrencyData | TimezoneData | RefundData | SubscriptionData | CertificateData | BlockRuleData | Record<string, unknown>;
89
- interface LinkItem {
90
- label: string;
91
- href: string;
92
- }
93
- interface FollowupOption {
94
- id: string;
95
- label: string;
96
- }
97
- interface StructuredData {
98
- type: "subscription" | "subscriptions" | "customer" | "customers" | "transactions" | "transaction" | "dashboard_stats" | "top_customers" | "api_keys" | "sessions" | string;
99
- data: unknown;
100
- }
101
- interface CsvPreviewData {
102
- rowCount: number;
103
- columns: string[];
104
- sampleRows: Record<string, string>[];
105
- fileName: string;
106
- }
107
- interface BulkOperationResult {
108
- row: number;
109
- success: boolean;
110
- error?: string;
111
- data?: Record<string, unknown>;
112
- }
113
- interface BulkSummary {
114
- total: number;
115
- successes: number;
116
- failures: BulkOperationResult[];
117
- suggestedAction?: string;
118
- navigationPage?: {
119
- page: Page;
120
- subtab?: SettingsTab;
121
- };
122
- }
123
- type MessageKind = "text" | "searchSummary" | "guideStep" | "guideComplete" | "navigationAction" | "actionForm" | "bulkPreview" | "bulkProgress" | "bulkSummary";
124
- interface Message {
125
- id: number;
126
- role: "user" | "assistant";
127
- kind?: MessageKind;
128
- content?: string;
129
- title?: string;
130
- links?: LinkItem[];
131
- navigationTarget?: NavigationTarget;
132
- actionType?: ActionType;
133
- actionData?: ActionData;
134
- isSubmitted?: boolean;
135
- guideStepIndex?: number;
136
- isNotificationMessage?: boolean;
137
- csvData?: CsvPreviewData;
138
- suggestedAction?: string;
139
- bulkProgress?: {
140
- processed: number;
141
- total: number;
142
- successes: number;
143
- failures: number;
144
- };
145
- bulkSummary?: BulkSummary;
146
- bulkSessionId?: string;
147
- followups?: FollowupOption[];
148
- followupSelected?: boolean;
149
- structuredData?: StructuredData;
150
- }
151
- interface CursorTarget {
152
- selector: string;
153
- offset?: {
154
- x: number;
155
- y: number;
156
- };
157
- onClick?: boolean;
158
- }
159
- interface GuideStep {
160
- text: string;
161
- navigation?: NavigationTarget;
162
- cursorTarget?: CursorTarget;
163
- }
164
- interface GuideWithSteps {
165
- id: string;
166
- title: string;
167
- steps: GuideStep[];
168
- }
169
- interface Topic {
170
- id: string;
171
- label: string;
172
- prompt: string;
173
- }
174
- interface Folder {
175
- id: string;
176
- title: string;
177
- topics: Topic[];
178
- }
179
- interface ChatPanelConfig {
180
- /** User ID of the end user querying the chat panel */
181
- userId: string;
182
- /** Organization ID the user belongs to */
183
- orgId: string;
184
- /** URL of the agent backend (optional - defaults to built-in URL, use for dev/testing only) */
185
- agentUrl?: string;
186
- /** Theme preference */
187
- theme?: "light" | "dark" | "system";
188
- /** Position of the chat panel */
189
- position?: "bottom-right" | "bottom-left" | "custom";
190
- /** Custom guides to show in the chat panel */
191
- guides?: Record<string, GuideWithSteps>;
192
- /** Custom help topic folders for the landing page */
193
- folders?: Folder[];
194
- /** Default folders if none provided */
195
- showDefaultFolders?: boolean;
196
- /** Enable/disable guide cursor animation */
197
- enableGuideCursor?: boolean;
198
- /** Custom class name for the chat panel container */
199
- className?: string;
200
- }
201
- interface ChatActionCompleteEvent {
202
- actionType: ActionType;
203
- data: ActionData;
204
- success?: boolean;
205
- }
206
- interface AgentActionCompleteEvent {
207
- result: {
208
- bulk?: boolean;
209
- total?: number;
210
- successes?: number;
211
- [key: string]: unknown;
212
- };
213
- }
214
- interface ChatPanelProps {
215
- /** Current page the user is on (for context) */
216
- currentPage?: string;
217
- /** Callback when navigation is requested */
218
- onNavigate?: (page: string, subtab?: string) => void;
219
- /** Callback when an action is completed */
220
- onActionComplete?: (actionType: ActionType, data: ActionData) => void;
221
- /** Callback when agent executes an action */
222
- onAgentAction?: (event: AgentActionCompleteEvent) => void;
223
- /** Callback when back button is pressed */
224
- onBack?: () => void;
225
- /** Override configuration (otherwise uses context) */
226
- config?: ChatPanelConfig;
227
- }
228
- interface Subscription {
9
+ declare const buttonVariants: (props?: ({
10
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
11
+ size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
12
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
13
+ declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
14
+ asChild?: boolean;
15
+ }): react_jsx_runtime.JSX.Element;
16
+
17
+ declare function Input({ className, type, ...props }: React.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
18
+
19
+ declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
+ declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
21
+
22
+ declare function Card({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
23
+ declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
24
+ declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
25
+ declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
26
+ declare function CardAction({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
27
+ declare function CardContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
28
+ declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
29
+
30
+ type Subscription = {
229
31
  id: string;
230
32
  customer_id: string;
231
33
  customer_email?: string;
232
- plan: "Starter" | "Professional" | "Enterprise" | string;
34
+ plan: "Starter" | "Professional" | "Enterprise";
233
35
  status: string;
234
36
  billing_cycle: string;
235
37
  amount: number;
@@ -237,38 +39,38 @@ interface Subscription {
237
39
  current_period_start: string;
238
40
  current_period_end: string;
239
41
  created_at: string;
240
- }
241
- interface Customer {
42
+ };
43
+ type Customer = {
242
44
  id: number;
243
45
  name: string;
244
46
  email: string;
245
- status: "active" | "inactive" | string;
47
+ status: "active" | "inactive";
246
48
  revenue: string;
247
49
  joinDate: string;
248
- subscription: "Starter" | "Professional" | "Enterprise" | string;
50
+ subscription: "Starter" | "Professional" | "Enterprise";
249
51
  location: string;
250
- }
251
- interface Transaction {
52
+ };
53
+ type Transaction = {
252
54
  id: number;
253
55
  customer: string;
254
56
  email: string;
255
57
  amount: string;
256
- status: "paid" | "failed" | "pending" | "refunded" | string;
58
+ status: "paid" | "failed" | "pending" | "refunded";
257
59
  date: string;
258
60
  decline_reason?: string;
259
61
  blocked_by_rule?: string;
260
- }
261
- interface ApiKey {
62
+ };
63
+ type ApiKey = {
262
64
  name: string;
263
65
  key: string;
264
66
  lastUsed: string;
265
- }
266
- interface Session {
67
+ };
68
+ type Session = {
267
69
  device: string;
268
70
  location: string;
269
71
  time: string;
270
- }
271
- interface DashboardStats {
72
+ };
73
+ type DashboardStats = {
272
74
  revenue?: {
273
75
  total: number;
274
76
  change: number;
@@ -285,30 +87,45 @@ interface DashboardStats {
285
87
  successful: number;
286
88
  failed: number;
287
89
  };
288
- }
289
-
290
- declare function ChatPanel({ onBack, onNavigate, onActionComplete, onAgentAction, currentPage, config: propConfig, }: ChatPanelProps): react_jsx_runtime.JSX.Element;
291
-
292
- declare const defaultFolders: Folder[];
293
- declare const defaultGuides: Record<string, GuideWithSteps>;
294
- declare const defaultConfig: ChatPanelConfig;
295
- interface ChatPanelContextValue {
296
- config: ChatPanelConfig;
297
- userId: string;
298
- orgId: string;
299
- agentUrl: string;
300
- folders: Folder[];
301
- guides: Record<string, GuideWithSteps>;
302
- theme: "light" | "dark" | "system";
303
- position: "bottom-right" | "bottom-left" | "custom";
304
- enableGuideCursor: boolean;
305
- }
306
- interface ChatPanelProviderProps {
307
- children: React.ReactNode;
308
- config: ChatPanelConfig;
309
- }
310
- declare function ChatPanelProvider({ children, config }: ChatPanelProviderProps): react_jsx_runtime.JSX.Element;
311
- declare function useChatPanelConfig(): ChatPanelContextValue;
90
+ };
91
+ declare function SubscriptionCard({ subscription }: {
92
+ subscription: Subscription;
93
+ }): react_jsx_runtime.JSX.Element;
94
+ declare function SubscriptionList({ subscriptions, maxItems }: {
95
+ subscriptions: Subscription[];
96
+ maxItems?: number;
97
+ }): react_jsx_runtime.JSX.Element;
98
+ declare function CustomerCard({ customer }: {
99
+ customer: Customer;
100
+ }): react_jsx_runtime.JSX.Element;
101
+ declare function CustomerList({ customers, maxItems }: {
102
+ customers: Customer[];
103
+ maxItems?: number;
104
+ }): react_jsx_runtime.JSX.Element;
105
+ declare function TransactionList({ transactions, maxItems }: {
106
+ transactions: Transaction[];
107
+ maxItems?: number;
108
+ }): react_jsx_runtime.JSX.Element;
109
+ declare function ApiKeyList({ apiKeys }: {
110
+ apiKeys: ApiKey[];
111
+ }): react_jsx_runtime.JSX.Element;
112
+ declare function SessionList({ sessions }: {
113
+ sessions: Session[];
114
+ }): react_jsx_runtime.JSX.Element;
115
+ declare function DashboardStatsCard({ stats }: {
116
+ stats: DashboardStats;
117
+ }): react_jsx_runtime.JSX.Element;
118
+ declare function TopCustomersList({ customers }: {
119
+ customers: Array<{
120
+ name: string;
121
+ email: string;
122
+ revenue: number | string;
123
+ }>;
124
+ }): react_jsx_runtime.JSX.Element;
125
+ declare function DataRenderer({ type, data }: {
126
+ type: string;
127
+ data: any;
128
+ }): react_jsx_runtime.JSX.Element | null;
312
129
 
313
130
  type ActivityPhase = "thinking" | "searching" | "executing" | "responding";
314
131
  type ProgressStep = {
@@ -320,6 +137,10 @@ declare function AssistantActivity({ phase, progressSteps }: {
320
137
  progressSteps?: ProgressStep[];
321
138
  }): react_jsx_runtime.JSX.Element;
322
139
 
140
+ type LinkItem = {
141
+ label: string;
142
+ href: string;
143
+ };
323
144
  declare function AssistantSearchSummary({ title, links, }: {
324
145
  title: string;
325
146
  links: LinkItem[];
@@ -333,32 +154,14 @@ interface GuideCursorProps {
333
154
  }
334
155
  declare function GuideCursor({ x, y, visible, onClick }: GuideCursorProps): react_jsx_runtime.JSX.Element;
335
156
 
336
- declare function DataRenderer({ type, data }: {
337
- type: string;
338
- data: unknown;
339
- }): react_jsx_runtime.JSX.Element | null;
340
-
341
- declare const buttonVariants: (props?: ({
342
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
343
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
344
- } & class_variance_authority_types.ClassProp) | undefined) => string;
345
- declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
346
- asChild?: boolean;
347
- }): react_jsx_runtime.JSX.Element;
348
-
349
- declare function Input({ className, type, ...props }: React.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
350
-
351
- declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
352
- declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
353
-
354
- declare function Card({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
355
- declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
356
- declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
357
- declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
358
- declare function CardAction({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
359
- declare function CardContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
360
- declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
361
-
157
+ interface CursorTarget {
158
+ selector: string;
159
+ offset?: {
160
+ x: number;
161
+ y: number;
162
+ };
163
+ onClick?: boolean;
164
+ }
362
165
  declare function useGuideCursor(): {
363
166
  cursorState: {
364
167
  x: number;
@@ -373,4 +176,4 @@ declare function useGuideCursor(): {
373
176
 
374
177
  declare function cn(...inputs: ClassValue[]): string;
375
178
 
376
- export { type ActionData, type ActionType, type AgentActionCompleteEvent, type ApiKey, type ApiKeyData, AssistantActivity, AssistantSearchSummary, type BlockRuleData, type BulkOperationResult, type BulkSummary, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CertificateData, type ChatActionCompleteEvent, ChatPanel, type ChatPanelConfig, type ChatPanelProps, ChatPanelProvider, type CompanyInfoData, type CsvPreviewData, type CurrencyData, type CursorTarget, type Customer, type CustomerData, type DashboardStats, DataRenderer, type Folder, type FollowupOption, GuideCursor, type GuideStep, type GuideWithSteps, Input, type IntegrationData, type LinkItem, type Message, type MessageKind, type NavigationTarget, type NotificationData, type Page, type PasswordData, type PaymentMethodData, type RefundData, ScrollArea, ScrollBar, type Session, type SessionData, type SettingsTab, type StructuredData, type Subscription, type SubscriptionData, type TimezoneData, type Topic, type Transaction, type WebhookData, buttonVariants, cn, defaultConfig, defaultFolders, defaultGuides, useChatPanelConfig, useGuideCursor };
179
+ export { ApiKeyList, AssistantActivity, AssistantSearchSummary, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CustomerCard, CustomerList, DashboardStatsCard, DataRenderer, GuideCursor, Input, ScrollArea, ScrollBar, SessionList, SubscriptionCard, SubscriptionList, TopCustomersList, TransactionList, buttonVariants, cn, useGuideCursor };