/** * Crepe mounts `.milkdown-slash-menu` as a sibling of `.ProseMirror`. Scroll * ancestors clip `position: absolute`. Move the node to a `.milkdown` shell on * `document.body` so nested Crepe CSS still applies, and pin the shell to the * editor milkdown box so SlashProvider top/left stay valid. * * Do not copy `--crepe-*` as inline styles. That freezes the first resolved * theme and beats nord.css / nord-dark.css on `.milkdown`. */ export declare function useSlashMenuPortal(container: HTMLElement | null): void;