/**
 * 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 RangeSelection, type TextNode } from 'lexical';
import { $createMarkNode, $isMarkNode, MarkNode, type SerializedMarkNode } from './MarkNode';
export declare function $unwrapMarkNode(node: MarkNode): void;
export declare function $wrapSelectionInMarkNode(selection: RangeSelection, isBackward: boolean, id: string, createNode?: (ids: string[]) => MarkNode): void;
export declare function $getMarkIDs(node: TextNode, offset: number): null | string[];
/**
 * Configures {@link MarkNode}
 */
export declare const MarkExtension: import("lexical").LexicalExtension<import("lexical").ExtensionConfigBase, "@lexical/mark", unknown, unknown>;
export { $createMarkNode, $isMarkNode, MarkNode, SerializedMarkNode };
