UNPKG

@tabula/ui-ai-chat

Version:

Allows to embed UI for conversation with AI assistant

16 lines (15 loc) 524 B
import { ReactNode } from 'react'; import { Request, TableAction } from '../types'; type Props = { editDisabled: boolean; maxPromptLength?: number; onResend: (id: number, prompt: string) => void; pendingPlaceholder?: string; request: Request; tableActions: TableAction[]; }; export declare function RequestView({ editDisabled, maxPromptLength, onResend, pendingPlaceholder, request, tableActions, }: Props): ReactNode; export declare namespace RequestView { var displayName: string; } export {};