/** * Performs bit rotation on a number * @param x 32-bit integer to rotate * @param k Number of bits to rotate * @param direction Direction of rotation ('left' or 'right') * @returns The result after rotating k bits in the specified direction * @example * const resultLeft = bitwise(0x12345678, 8); * console.log(resultLeft.toString(16)); // '34567812' * const resultRight = bitwise(0x12345678, 8, 'right'); * console.log(resultRight.toString(16)); // '78123456' */ export declare const bitwise: (x: number, k: number, direction?: "left" | "right") => number;