import { FileWithPath } from '@mantine/dropzone';
import { LexicalCommand } from 'lexical';
import { VideoPlatform } from '../types';
export declare const INSERT_VIDEO_COMMAND: LexicalCommand<string>;
export declare const UPLOAD_VIDEO_COMMAND: LexicalCommand<FileWithPath[]>;
export declare function parseVideoURL(url: string, isLink?: boolean): {
    platform: VideoPlatform;
    id: string | null;
};
export declare function getVideoIframeUrl(platform: VideoPlatform, id: string): string;
export declare function getShakaVideoPlayerProps(platform: VideoPlatform, id: string): {
    src: string;
} | {
    attachmentId: string;
};
export declare function isValidMediaUrl(url: string): boolean;
//# sourceMappingURL=utils.d.ts.map