import type { CSSProperties } from 'react'; import type { AerizEditor as AerizEditorCore, AerizViewer as AerizViewerCore } from '@aeriz/wysiwyg'; import type { AerizEditorProps, AerizViewerProps } from './shared.cjs'; /** 컨테이너 `
` 에 직접 전달되는 표현용 prop. */ interface HostProps { className?: string; style?: CSSProperties; id?: string; } export interface AerizEditorReactProps extends AerizEditorProps, HostProps { } export interface AerizViewerReactProps extends AerizViewerProps, HostProps { } /** `ref` 로 노출되는 명령형 핸들. */ export interface AerizEditorHandle { /** 코어 인스턴스. `getHTML()` / `setBlockType()` 등 전체 API 접근용. */ readonly editor: AerizEditorCore | null; getHTML(): string; setHTML(html: string): void; focus(): void; } export interface AerizViewerHandle { readonly viewer: AerizViewerCore | null; } export declare const AerizEditor: import("react").ForwardRefExoticComponent>; export declare const AerizViewer: import("react").ForwardRefExoticComponent>; export type { AerizEditorProps, AerizViewerProps } from './shared.cjs'; // (소스맵은 CJS 선언 사본에서 제외됨 — scripts/finalize-types.mjs)