/** * Narrow type of `x` to `X` * * @example * * ```ts * const x = 123 // `x` is `number` * const y = narrow(x).toType<123 | 234>() // `y` is `123 | 234` * ``` * * @param x - Variable to narrow type of * @returns `{toType()}` */ export declare function narrow(x: X): { toType(): T; }; //# sourceMappingURL=narrowType.d.ts.map