@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
18 lines (17 loc) • 645 B
TypeScript
import { type EditorProps } from '@monaco-editor/react';
/**
* Shared Monaco wrapper props.
*
* @private Internal utility for book components and Agents Server.
*/
type MonacoEditorWithShadowDomProps = EditorProps;
/**
* Renders Monaco Editor with per-instance Shadow DOM isolation enabled.
*
* This keeps Monaco instances encapsulated from each other while preserving
* the same external API as `@monaco-editor/react`.
*
* @private Internal utility for book components and Agents Server.
*/
export declare function MonacoEditorWithShadowDom(props: MonacoEditorWithShadowDomProps): import("react/jsx-runtime").JSX.Element;
export {};