import { Ref } from 'vue'; import { Command } from '../command/types'; import { EditorController } from './controller'; /** 이 축이 팩토리 클로저에서 쓰는 것 전부. 늘어나면 여기 선언이 먼저 늘어난다(= 의존 인벤토리). */ export interface NoteContext { /** 조회 모드 판정 — `addNote`가 `null`을 돌려주려면 run()의 no-op 백스톱보다 앞에서 봐야 한다. */ editable: Ref; /** 모델 변경의 단일 실행점(조회 모드 no-op + 안내). */ run: (c: Command) => void; } export declare function createNoteApi(ctx: NoteContext): Pick;