import type { FocusEventHandler, HTMLAttributes } from "react";
export type EditableTextAttributes = Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "onFocus" | "onBlur">;
export interface EditableTextProps extends EditableTextAttributes {
    initialValue?: string | null;
    placeholder?: string;
    isEditing?: boolean;
    isOptional?: boolean;
    isMultiline?: boolean;
    isDisabled?: boolean;
    isMarkdown?: boolean;
    onChange?: (value: string) => void;
    onFocus?: FocusEventHandler<HTMLTextAreaElement>;
    onBlur?: FocusEventHandler<HTMLTextAreaElement>;
    "data-testid"?: string;
}
declare const _default: ((props: EditableTextProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null) & {
    Root: import("@emotion/styled").StyledComponent<{
        theme?: import("@emotion/react").Theme | undefined;
        as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
    } & import("./EditableText.styled").EditableTextRootProps, import("react").DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
};
export default _default;
