import type { TransformFunction } from 'r-assign'; import type { BaseTypeGuard, CompositeTypeGuard, InferTuple, InferTypeGuard, RestTypeGuard, Tuple, TypeGuard } from 'r-assign/lib'; /** * Extract tuple values * @deprecated will be removed in version 2.0, use `getType()` instead */ declare function getTupleOf( tuple: T, initial: InferTuple ): TransformFunction>; /** * Check for tuple values */ declare function isTupleOf( tuple: T ): CompositeTypeGuard>; /** * Check for tuple rest */ declare function isTupleRestOf( type: BaseTypeGuard ): RestTypeGuard>; /** * Extract and validate tuple values * @deprecated will be removed in version 2.0, use `parseType()` instead */ declare function parseTupleOf( tuple: T ): TransformFunction>; export { getTupleOf, isTupleOf, isTupleOf as tuple, isTupleRestOf, isTupleRestOf as tupleRest, parseTupleOf }; export type { InferTuple, Tuple };