/**
 * A robust way to retain selection position through various
 * transforms is to insert a special character at the position and
 * then recover it.
 */
export declare const START_OF_SELECTED_AREA = "\u0086";
/**
 * Retrieve the block attribute that contains the selection position.
 *
 * @param blockAttributes Block attributes.
 * @return The name of the block attribute that was previously selected.
 */
export declare function retrieveSelectedAttribute(blockAttributes: Record<string, unknown> | undefined): string | undefined;
type BlockTypeWithAttributes = {
    attributes: Record<string, {
        source?: string;
    }>;
};
export declare function findRichTextAttributeKey(blockType: BlockTypeWithAttributes): string | undefined;
export {};
//# sourceMappingURL=selection.d.ts.map