import { UnionToIntersection } from './utils'; export interface Vector { readonly [x: number]: T; readonly length: number; } export declare type Length> = T['length']; /** * Gives a union of all values contained in a tuple. * @param T a tuple of items * @returns a union of all items in tuple */ export declare type UnionizeTuple> = T[number]; /** * Gives an intersection of all values contained in a tuple. * @param T a tuple of items * @returns an intersection of all items in the tuple */ export declare type IntersectTuple> = UnionToIntersection;