export interface RichTextEditorProps { value: string; onChange: (value: string) => void; placeholder?: string; className?: string; } export interface ToolbarButtonProps { onClick: () => void; isActive: boolean; disabled?: boolean; children: React.ReactNode; title?: string; } export interface EditorContent { type: 'doc'; content: Array<{ type: string; attrs?: Record; content?: any[]; }>; }