// Type definitions for bitdepth 9.0 // Project: https://github.com/rochars/bitdepth // Definitions by: Rafael S. Rocha // Definitions: https://github.com/rochars/bitdepth /** * Change the bit depth of PCM samples. * @param {!Array|!TypedArray} samples The original samples. * @param {string} bithDepth The original bit depth. * @param {!TypedArray} newSamples The output array. * @param {string} targetBitDepth The target bit depth. * @throws {Error} If original or target bit depths are not valid. */ export function changeBitDepth( samples: ArrayLike, bithDepth: string, newSamples: ArrayLike, targetBitDepth: string): void;