import type { TransformFunction } from 'r-assign'; import type { InferShape, Shape, TypeGuard } from 'r-assign/lib'; /** * Extract object values * @deprecated will be removed in version 2.0, use `getType()` instead */ declare function getObjectOf( shape: S, initial: InferShape ): TransformFunction>; /** * Extract strict object values * @deprecated will be removed in version 2.0, use `getType()` instead */ declare function getStrictObjectOf( shape: S, initial: InferShape ): TransformFunction>; /** * Check for keys of provided object type */ declare function isKeyOf>( object: TypeGuard ): TypeGuard; /** * Check for object values */ declare function isObjectOf< S extends Shape, M extends TypeGuard> | undefined = undefined >(shape: S, mapping?: M): TypeGuard>; /** * Check for a subset object value by omitting the provided keys */ declare function isOmitFrom< R extends Record, K extends keyof R >(object: TypeGuard, keys: K | K[] | TypeGuard): TypeGuard>; /** * Check for a subset object value by picking the provided keys */ declare function isPickFrom< R extends Record, K extends keyof R >(object: TypeGuard, keys: K | K[] | TypeGuard): TypeGuard>; /** * Check for strict object values */ declare function isStrictObjectOf( shape: S ): TypeGuard>; /** * Extract and validate object values * @deprecated will be removed in version 2.0, use `parseType()` instead */ declare function parseObjectOf( shape: S ): TransformFunction>; /** * Extract and validate strict object values * @deprecated will be removed in version 2.0, use `parseType()` instead */ declare function parseStrictObjectOf( shape: S ): TransformFunction>; export { getObjectOf, getStrictObjectOf, isKeyOf, isKeyOf as keyof, isObjectOf, isObjectOf as object, isOmitFrom, isOmitFrom as omit, isPickFrom, isPickFrom as pick, isStrictObjectOf, isStrictObjectOf as strictObject, parseObjectOf, parseStrictObjectOf }; export type { InferShape, Shape };