import type { TransformFunction } from 'r-assign'; import type { BaseTypeGuard, InferTypeGuard, RefineFunction, TypeGuard } from 'r-assign/lib'; /** * Extract and validate values based on provided type guard * @note Does not accept `isOptional*` type guard as it is invalid syntax */ declare function parseType( type: BaseTypeGuard, refine?: RefineFunction> ): TransformFunction>; export { parseType };