import { Ctx } from '@milkdown/kit/ctx'; import { MediaUploadHandler } from '../../types'; /** Type for slash menu item configuration (matches Crepe's SlashMenuItem) */ export interface SlashMenuItemConfig { label: string; icon: string; onRun: (ctx: Ctx) => void; } /** * Video upload configuration context slice. * Store the upload callback here so slash items can access it. */ export interface VideoConfig { onUploadVideo?: MediaUploadHandler; } export declare const videoConfig: import('@milkdown/utils').$Ctx; /** * Slash menu item for inserting videos. * Opens native file picker, uploads video, and inserts node. */ export declare const VideoSlashMenuItems: { video: () => SlashMenuItemConfig; };