import { PipeTransform } from '@angular/core';
/**
 * Pipe to extract a bit value or a bit range from a number.
 * Returns 0 when parameters are not valid
 *
 * For example:
 *
 * ```
 * expect(pipe.transform(0b0101, '2')).toEqual(1, 'transform with parameter 2 should returns value of bit at position 2');
 * // Extracting bits n° 1 and n°2 (index starts at 0)
 * expect(pipe.transform(0b0101, '1-2')).toEqual(0b10);
 * ````
 */
export declare class ExtractBitsPipe implements PipeTransform {
    transform(value: number, format?: string | number): number;
}
