import { Is } from '../Any/Is'; import { Match } from '../Any/_Internal'; /** * Extract the part of `U` that matches `M` * @param U to extract from * @param M to select with * @returns [[Union]] * @example * ```ts * ``` */ export declare type Select = U extends unknown ? { 1: U & M; 0: never; }[Is] : never;