@orfeas126/box-ui-elements
Version:
Box UI Elements
21 lines (20 loc) • 727 B
TypeScript
import { SuggestedQuestionType } from '@box/box-ai-content-answers';
import { BoxItem, User } from '../../../common/types/core';
import APIFactory from '../../../api';
export interface ExternalProps {
isCitationsEnabled?: boolean;
isMarkdownEnabled?: boolean;
isResetChatEnabled?: boolean;
onAsk?: () => void;
onClearConversation?: () => void;
onRequestClose?: () => void;
suggestedQuestions?: SuggestedQuestionType[];
}
export interface ContentAnswersModalProps extends ExternalProps {
api: APIFactory;
currentUser?: User;
file: BoxItem;
isOpen: boolean;
}
declare const _default: import("../current-user/withCurrentUser").WithCurrentUserComponent<object>;
export default _default;