declare module 'hero-editor/dist/app.js' { const script: string; export default script; } declare module 'hero-editor' { export function isEmptyContent(content: unknown): boolean; export function plainSerializer( content: { type: string; children: unknown; }[] ): string; }