import React from "react"; interface H5PEditorProps { contentType: string; apiUrl: string; existingContentId?: string; } declare const H5PEditor: React.ForwardRefExoticComponent>; declare global { interface Window { H5PEditor: { Editor: new (config: { container: HTMLElement; apiUrl: string; contentId: string; contentType: string; }) => { init: () => Promise; getContent: (successCallback: (content: any) => void, errorCallback: (error: any) => void) => void; destroy?: () => void; }; }; } } export default H5PEditor;