import { LexicalEditor } from 'lexical'; import { VideoNode } from './node'; import { VideoPlatform } from './types'; type ApplyVideoSourceParams = { url: string; isLink?: boolean; platformOverride?: VideoPlatform; overrideId?: string | null; }; export declare function insertVideoNode(editor: LexicalEditor, payload: string): void; export declare function insertVideoPlaceholderNode(editor: LexicalEditor, uploadTicket?: string): VideoNode; 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): void; export declare function duplicateVideoNode(editor: LexicalEditor, nodeKey: string): void; export {}; //# sourceMappingURL=behaviour.d.ts.map