import type { EditorLocale } from "@/shared/locales";
import type { EditorErrorEvent } from "@/react/editor/types";
import "./index.css";
interface VideoUploadDialogProps {
    isOpen: boolean;
    onConfirm: (src: string, title?: string) => void;
    onCancel: () => void;
    onPreUpload?: (file: File) => Promise<string>;
    onUpload?: (payload: {
        file: File;
        url: string;
        title?: string;
    }) => void | Promise<void>;
    onError?: (event: EditorErrorEvent) => void;
    /** 视频最大体积（字节），超过则拒绝。 */
    videoMaxSizeBytes?: number;
    locale: EditorLocale;
    /** 为 true 时标记为编辑器焦点保活区域，避免 NotionLike 下误触发 blur 收口。 */
    preserveEditorFocus?: boolean;
    /** 弹窗挂载容器，用于继承编辑器作用域主题变量。 */
    portalContainer?: HTMLElement | null;
}
declare const VideoUploadDialog: ({ isOpen, onConfirm, onCancel, onPreUpload, onUpload, onError, videoMaxSizeBytes, locale, preserveEditorFocus, portalContainer, }: VideoUploadDialogProps) => import("react/jsx-runtime").JSX.Element;
export default VideoUploadDialog;
