/** * Bidi character mirroring * Port of bidi-js mirroring.js */ /** * Get the mirrored version of a character for BiDi display * @param char Character to mirror * @returns Mirrored character, or null if character has no mirror */ export declare function getMirroredCharacter(char: string): string | null; /** * Given a string and its resolved embedding levels, build a map of indices to replacement chars * for any characters in right-to-left segments that have defined mirrored characters. * @param string Text string to process * @param embeddingLevels Resolved embedding levels from getEmbeddingLevels * @param start Start index (defaults to 0) * @param end End index (defaults to string length - 1) * @returns Map of character indices to their mirrored replacements */ export declare function getMirroredCharactersMap(string: string, embeddingLevels: Uint8Array, start?: number, end?: number): Map;