import type { EditorHost } from '@cbi-blocksuite/block-std'; import { AIChatLogic } from './chat/logic.js'; import { AIDocLogic } from './doc/logic.js'; import { AIEdgelessLogic } from './edgeless/logic.js'; export class AILogic { constructor(public getHost: () => EditorHost) {} edgeless = new AIEdgelessLogic(this.getHost); doc = new AIDocLogic(this.getHost); chat = new AIChatLogic(this, this.getHost); }