@promptbook/openai
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
14 lines (13 loc) • 512 B
TypeScript
import type { editor } from 'monaco-editor';
type MonacoEditor = typeof import('monaco-editor');
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 {};