/** * Converts an array of string states to a binary representation. * @param states An array of string states. * @returns A binary number representing the input states. * @template T The type of each state in the input array (must extend `string`). * @example * ```typescript * const binaryFlags = getBinaryFlags(["idle", "running", "paused"]); * // binaryFlags === 0b111 === 7 * ``` */ export default function getBinaryFlags(states: T[]): number;