import * as react_jsx_runtime from 'react/jsx-runtime'; import { CardVariantProps } from '@kopexa/theme'; import { JSONContent } from '@kopexa/tiptap'; interface EditorCardProps { /** The content as TipTap JSONContent */ value?: JSONContent; /** Callback when the content changes */ onChange?: (content: JSONContent | undefined) => void; /** Title for the card header */ title: string; /** Placeholder text for the editor */ placeholder?: string; /** Text to show when there's no content in view mode */ emptyText?: string; /** Make the component read-only */ readOnly?: boolean; /** Card variant */ cardVariant?: "default" | "accent"; /** Props forwarded to the underlying `Card.Root` (e.g. `spacing`, `shadow`, `radius`). `cardVariant` still takes precedence for `variant`. */ cardProps?: CardVariantProps; /** Size of the edit icon button. */ editButtonSize?: "sm" | "md" | "lg"; } declare function EditorCard({ value, onChange, title, placeholder, emptyText, readOnly, cardVariant, cardProps, editButtonSize, }: EditorCardProps): react_jsx_runtime.JSX.Element; export { EditorCard, type EditorCardProps };