@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
20 lines (19 loc) • 611 B
TypeScript
import type { editor } from 'monaco-editor';
/**
* Type describing monaco editor.
*/
type MonacoEditor = typeof import('monaco-editor');
/**
* Props for use book editor monaco decorations.
*/
type UseBookEditorMonacoDecorationsProps = {
readonly editor: editor.IStandaloneCodeEditor | null;
readonly monaco: MonacoEditor | null;
};
/**
* Adds visual decorations for separators and code blocks inside `BookEditorMonaco`.
*
* @private function of BookEditorMonaco
*/
export declare function useBookEditorMonacoDecorations({ editor, monaco }: UseBookEditorMonacoDecorationsProps): void;
export {};