import { Prepend } from './Prepend'; import { Pos } from '../Iteration/Pos'; import { Next } from '../Iteration/Next'; import { Length } from './Length'; import { IterationOf } from '../Iteration/IterationOf'; import { Iteration } from '../Iteration/Iteration'; import { Cast } from '../Any/Cast'; import { List } from './List'; import { Naked } from './_Internal'; import { Extends } from '../Any/Extends'; /** * @hidden */ declare type __Reverse> = { 0: __Reverse]>, Next>; 1: LO; }[Extends, Length>]; /** * @hidden */ export declare type _Reverse = __Reverse, LO> extends infer X ? Cast : never; /** * Turn a [[List]] the other way around * @param L to reverse * @param LO (?=`[]`) to prepend to * @returns [[List]] * @example * ```ts * ``` */ export declare type Reverse = L extends unknown ? _Reverse : never; export {};