import type { TSchema } from '../schema/index'; import type { TIntersect } from '../intersect/index'; import type { TUnion } from '../union/index'; import type { TTuple } from '../tuple/index'; type TRestResolve = T extends TIntersect ? S : T extends TUnion ? S : T extends TTuple ? S : [ ]; export type TRest = TRestResolve; /** `[Json]` Extracts interior Rest elements from Tuple, Intersect and Union types */ export declare function Rest(T: T): TRest; export {};