import React from 'react';
import { TextEditorProps } from './TextEditor.types';
/**

 We use text editors to allow users to enter multiple lines of formatted text.

 If users need to add unformatted text, see Text Area.

 @since 10.19.0

 @see [Storybook](https://procore.github.io/core/latest/?path=/story/texteditor--disabled-state)

 @see [Design Guidelines](https://design.procore.com/text-editor)

 */
export declare function TextEditor({ error, init: initOverrides, locale, onChange, onInit: _onInit, plugins, ...props }: TextEditorProps): JSX.Element;
export declare namespace TextEditor {
    var displayName: string;
}
interface ProviderProps {
    children?: React.ReactNode;
}
/**
 * @deprecated
 * The `TextEditorProvider` provider is no longer needed, `<TextEditor />` can be used on its own.
 *
 * **Before**
 *
 * ```
 * <TextEditorProvider>
 *   <TextEditor value="Hello World" />`
 * </TextEditorProvider>
 * ```
 *
 * **After**
 *
 * `<TextEditor value="Hello World" />`
 *
 * @deprecatedSince 10.20.0
 */
export declare function TextEditorProvider({ children }: ProviderProps): JSX.Element;
export default TextEditor;
