import React from 'react'; import type { TextEditorProps } from './TextEditor.types'; /** * To ensure your Jest tests work with the CKEditor implementation, wrap your Jest configuration with `textEditorJestConfig`: * * @example * * // Using Jest config file * * const { textEditorJestConfig } = require('@procore/text-editor/jestConfig') * * module.exports = textEditorJestConfig({ * // Your existing Jest config * }) * * @example * * // Using Hammer * * import { textEditorJestConfig } from '@procore/text-editor/jestConfig' * * export default { * testJest: (defaultConfig) => * textEditorJestConfig({ * ...defaultConfig, * // Your existing Jest config * }), * } * * @example * * // Using Core Scripts * * const { textEditorJestConfig } = require('@procore/text-editor/jestConfig') * * module.exports = () => ({ * jestOverride: (defaultConfig) => * textEditorJestConfig({ * ...defaultConfig, * // Your existing Jest config * }), * }) */ export declare function TextEditor(props: Readonly): React.JSX.Element;