import { LexicalEditor } from 'lexical';
import { $createVideoNode } from '../node/VideoNode';
import { VideoPlatform } from '../types';
type ApplyVideoSourceParams = {
    url: string;
    isLink?: boolean;
    platformOverride?: VideoPlatform;
    overrideId?: string | null;
};
export declare function insertVideoNode(editor: LexicalEditor, payload: string, createMediaComponent: (node: ReturnType<typeof $createVideoNode>) => void): void;
export declare function applyVideoSource(editor: LexicalEditor, nodeKey: string, { url, isLink, platformOverride, overrideId }: ApplyVideoSourceParams): boolean;
export declare function setVideoSize(editor: LexicalEditor, nodeKey: string, width: number | string | 'inherit', height: number | string | 'inherit'): void;
export declare function setVideoPoster(editor: LexicalEditor, nodeKey: string, posterUrl: string | null): void;
export declare function setVideoPrimaryUrl(editor: LexicalEditor, nodeKey: string, primaryUrl: string): void;
export declare function setVideoChaptersDisabled(editor: LexicalEditor, nodeKey: string, disabled: boolean): void;
export declare function removeVideoNode(editor: LexicalEditor, nodeKey: string, deleteNode: (editor: LexicalEditor, nodeKey: string) => void): void;
export {};
//# sourceMappingURL=behaviour.d.ts.map