@difizen/libro-ai-native
Version:
21 lines • 1.07 kB
TypeScript
import type { CellView } from '@difizen/libro-jupyter';
import type { IChatMessage } from '@difizen/magent-chat';
import type { ToAutoFactory } from '@difizen/magent-core';
import { Fetcher } from '@difizen/magent-core';
import type { ViewComponent } from '@difizen/mana-app';
import { BaseView } from '@difizen/mana-app';
import 'katex/dist/katex.min.css';
import { LibroAIChatMessageItemModel } from './libro-ai-msg-item-model.js';
import type { IAINativeForCellViewOption } from './protocol.js';
export declare function LibroAINativeForCellRender(): import("react/jsx-runtime").JSX.Element | null;
export declare class LibroAINativeForCellView extends BaseView {
view: ViewComponent;
fetcher: Fetcher;
cell: CellView;
libroAiChatMessageItemFactory: ToAutoFactory<typeof LibroAIChatMessageItemModel>;
libroAIChatMessageItemModel?: LibroAIChatMessageItemModel;
showAI: boolean;
constructor(options: IAINativeForCellViewOption);
chatStream: (option: IChatMessage) => Promise<void>;
}
//# sourceMappingURL=ai-native-for-cell-view.d.ts.map