/**
 * This Source Code is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * Copyright (c) Infonomic Company Limited
 */
import type React from 'react';
import type { RichTextField as FieldType } from '@byline/core';
import type { EditorConfig } from './field/config/types';
interface Props {
    field: FieldType;
    readonly?: boolean;
    instanceKey?: string;
    value?: any;
    defaultValue?: any;
    editorConfig?: EditorConfig;
    onChange?: (value: any) => void;
    path?: string;
    /** When provided, renders a LocaleBadge next to the field label. */
    locale?: string;
}
export declare const RichTextField: ({ field, value, defaultValue, editorConfig, readonly, instanceKey, onChange, path, locale, }: Props) => React.JSX.Element;
export {};
