/**
 * WASM based text shaper
 */
export declare class WasmTextShaper {
    #private;
    instance: WebAssembly.Instance;
    wasmMemory?: Uint8Array;
    tmpString: string;
    /** Construct the WASM instance */
    constructor();
    /**
     * Converts a string into a shaped string
     * @param str - input string
     * @param options - shaping options
     * @returns - shaped string
     */
    shapeString(str: string, options?: number): string;
    /**
     * Check if a character is a "right-to-left" unicode character
     * @param unicode - input unicode character
     * @returns - True if right-to-left
     */
    isRTL(unicode: number): boolean;
    /**
     * Check if a character is CJK (Chinese, Japanese, or Korean)
     * @param unicode - input unicode character
     * @returns - True if CJK
     */
    isCJK(unicode: number): boolean;
}
//# sourceMappingURL=textShaperWasm.d.ts.map