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