import type { TransformFunction } from 'r-assign'; import type { InferIntersection, Intersection, TypeGuard } from 'r-assign/lib'; /** * Extract intersection type values * @deprecated will be removed in version 2.0, use `getType()` instead */ declare function getIntersectionOf( intersection: I, initial: InferIntersection ): TransformFunction>; /** * Check for intersection type values * @note Does not accept `isOptional*` type guard as it is invalid syntax */ declare function isIntersectionOf( intersection: I ): TypeGuard>; /** * Extract and validate intersection type values * @deprecated will be removed in version 2.0, use `parseType()` instead */ declare function parseIntersectionOf( intersection: I ): TransformFunction>; export { getIntersectionOf, isIntersectionOf, isIntersectionOf as intersection, parseIntersectionOf }; export type { InferIntersection, Intersection };