/// <reference types="react" />
import { TEditableProps, Value } from "@udecode/plate";
export interface FormEditorProps {
    /**
     * to control the value
     *
     * @default undefined
     */
    setValues?: React.Dispatch<React.SetStateAction<Value | undefined>>;
    /**
     * readonly mode
     *
     * @default false
     */
    readOnly?: boolean;
    configs?: FormEditorConfig;
}
/**
 * editor configs
 */
export interface FormEditorConfig {
    /**
     * @default
     * { minHeight: 500, maxHeight: 500, overflowY: "auto" }
     */
    containerStyle: React.CSSProperties;
    /**
     * @default
     *  {
     *      placeholder: 'Enter...',
     *      style: {
     *          padding: "15px",
     *          backgroundColor: "white",
     *          height: "100%",
     *      }
     *  }
     */
    editableProps?: TEditableProps<Value>;
    /**
     * @default
     * [{
     *      type: "p",
     *      children: [{ text: ""}],
     * }]
     *
     */
    initialValue?: Value;
}
export declare type ContentValue = Value;
/**
 * 뷰어의 Props
 */
export interface ViewerProps {
    configs?: FormEditorConfig;
}
