/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import type { ElementFormatType } from './nodes/LexicalElementNode'; import type { TextDetailType, TextFormatType, TextModeType } from './nodes/LexicalTextNode'; export declare const DOM_ELEMENT_TYPE = 1; export declare const DOM_TEXT_TYPE = 3; export declare const NO_DIRTY_NODES = 0; export declare const HAS_DIRTY_NODES = 1; export declare const FULL_RECONCILE = 2; export declare const IS_NORMAL = 0; export declare const IS_TOKEN = 1; export declare const IS_SEGMENTED = 2; export declare const IS_INERT = 3; export declare const IS_BOLD = 1; export declare const IS_ITALIC: number; export declare const IS_STRIKETHROUGH: number; export declare const IS_UNDERLINE: number; export declare const IS_CODE: number; export declare const IS_SUBSCRIPT: number; export declare const IS_SUPERSCRIPT: number; export declare const IS_ALL_FORMATTING: number; export declare const IS_DIRECTIONLESS = 1; export declare const IS_UNMERGEABLE: number; export declare const IS_ALIGN_LEFT = 1; export declare const IS_ALIGN_CENTER = 2; export declare const IS_ALIGN_RIGHT = 3; export declare const IS_ALIGN_JUSTIFY = 4; export declare const NON_BREAKING_SPACE = "\u00A0"; export declare const COMPOSITION_SUFFIX: string; export declare const DOUBLE_LINE_BREAK = "\n\n"; export declare const COMPOSITION_START_CHAR: string; export declare const RTL_REGEX: RegExp; export declare const LTR_REGEX: RegExp; export declare const TEXT_TYPE_TO_FORMAT: Record; export declare const DETAIL_TYPE_TO_DETAIL: Record; export declare const ELEMENT_TYPE_TO_FORMAT: Record, number>; export declare const ELEMENT_FORMAT_TO_TYPE: Record; export declare const TEXT_MODE_TO_TYPE: Record; export declare const TEXT_TYPE_TO_MODE: Record;