import type { Frozen } from '@toolbox-ts/types/defs/object'; import { assertIsObject, assertIsObjectEmpty, assertIsNotObjectEmpty, assertIsObjectExtensible, assertIsObjectAny, assertIsObjectNotPlain, assertIsObjectFrozen, assertIsObjectIterable, assertIsObjectPrototypeKey, assertIsObjectProxy, assertIsObjectWithKeys, assertIsObjectWithValues, assertIsObjectSealed } from '../../../core/guards/objs/base/index.js'; import { assertIsMapWithEntries, assertIsMapWithKeys, assertIsMapWithValues } from '../../../core/guards/objs/map/index.js'; import { assertIsSetOf } from '../../../core/guards/objs/set/index.js'; export declare const is: { /** @narrows `object` */ readonly any: import("@toolbox-ts/types/defs/function").TypeGuard, "ObjectAny">; /** @narrows `T & object` */ readonly notPlain: { readonly name: "isObjectNotPlain"; readonly typeName: "ObjectNotPlain"; } & ((v: T) => v is T & object); /** @narrows `T & Record\` */ readonly notEmpty: { readonly name: "isObjectNotEmpty"; readonly typeName: "ObjectNotEmpty"; } & ((v: T) => v is { [key: string]: unknown; } & T); /** @narrows `Record\` */ readonly empty: import("@toolbox-ts/types/defs/function").TypeGuard, []>, "ObjectEmpty">; /** @narrows `Iterable` */ readonly iterable: import("@toolbox-ts/types/defs/function").TypeGuard, []>, "ObjectIterable">; /** @narrows `'__proto__' | 'constructor' | 'prototype'` */ readonly prototypeKey: import("@toolbox-ts/types/defs/function").TypeGuard, "ObjectPrototypeKey">; /** @narrows `T & InstanceType\` */ readonly proxy: { readonly name: "isObjectProxy"; readonly typeName: "ObjectProxy"; } & ((v: T) => v is InstanceType & T); /** @narrows `T & T.Key0.Key1...KeyN: V */ readonly withEntry: { readonly name: "isObjectWithEntry"; readonly typeName: "ObjectWithEntry"; } & ((obj: unknown, key: K, valueGuard?: (value: unknown) => value is V) => obj is import("@toolbox-ts/types/defs/object").ValuePathToObject & T); /** @narrows `T & \{ [K in Keys]: unknown \}` */ readonly withKeys: { readonly name: "isObjectWithKeys"; readonly typeName: "ObjectWithKeys"; } & ((v: T, keys: readonly K[]) => v is { [Y in K]: unknown; } & T); /** @narrows `Record\` */ readonly withValues: { readonly name: "isObjectWithValues"; readonly typeName: "ObjectWithValues"; } & ((v: unknown, valueGuard: (value: unknown) => value is T) => v is import("@toolbox-ts/types/defs/object").StringRecord); /** @narrows `T & object` */ readonly extensible: { readonly name: "isObjectExtensible"; readonly typeName: "ObjectExtensible"; } & ((v: T) => v is object & T); /** @narrows {@link Frozen} */ readonly frozen: { readonly name: "isObjectFrozen"; readonly typeName: "ObjectFrozen"; } & ((v: T) => v is Frozen); /** @narrows `T & object` */ readonly sealed: { readonly name: "isObjectSealed"; readonly typeName: "ObjectSealed"; } & ((v: T) => v is object & T); /** @narrows `T & Record\` */ readonly plain: { readonly name: "isObject"; readonly typeName: "Object"; } & ((v: T) => v is import("@toolbox-ts/types/defs/object").StringRecord & T); /** @narrows `Map\` */ readonly mapWithEntries: { readonly name: "isMapWithEntries"; readonly typeName: "MapWithEntries"; } & ( x is unknown>>(v: unknown, validators: T) => v is Map x is infer U) ? U : never>); /** @narrows `Map\` */ readonly mapWithKeys: { readonly name: "isMapWithKeys"; readonly typeName: "MapWithKeys"; } & ((v: unknown, keys: readonly K[]) => v is Map); /** @narrows `Map\` */ readonly mapWithValues: { readonly name: "isMapWithValues"; readonly typeName: "MapWithValues"; } & ((v: unknown, valueGuard: (x: unknown) => x is V) => v is Map); /** @narrows `Set` */ readonly setOf: { readonly name: "isSetOf"; readonly typeName: "SetOf"; } & ((v: unknown, valueValidator: (val: unknown) => val is V) => v is Set); }; export declare const assert: { /** @asserts `object` */ any: typeof assertIsObjectAny; /** @asserts `T & object` */ notPlain: typeof assertIsObjectNotPlain; /** @asserts `T & Record\` */ notEmpty: typeof assertIsNotObjectEmpty; /** @asserts `Record\` */ empty: typeof assertIsObjectEmpty; /** @asserts `Iterable` */ iterable: typeof assertIsObjectIterable; /** @asserts `'__proto__' | 'constructor' | 'prototype'` */ prototypeKey: typeof assertIsObjectPrototypeKey; /** @asserts `T & InstanceType\` */ proxy: typeof assertIsObjectProxy; /** @asserts `T & T.Key0.Key1...KeyN: V */ withEntry: (v: unknown, key: K, valueGuard?: (value: unknown) => value is T) => asserts v is import("@toolbox-ts/types/defs/object").ValuePathToObject & T; /** @asserts `T & \{ [K in Keys]: unknown \}` */ withKeys: typeof assertIsObjectWithKeys; /** @asserts `Record\` */ withValues: typeof assertIsObjectWithValues; /** @asserts `T & object` */ extensible: typeof assertIsObjectExtensible; /** @asserts {@link Frozen} */ frozen: typeof assertIsObjectFrozen; /** @asserts `T & object` */ sealed: typeof assertIsObjectSealed; /** @asserts `T & Record\` */ plain: typeof assertIsObject; /** @asserts `Map\` */ mapWithEntries: typeof assertIsMapWithEntries; /** @asserts `Map\` */ mapWithKeys: typeof assertIsMapWithKeys; /** @asserts `Map\` */ mapWithValues: typeof assertIsMapWithValues; /** @asserts `Set` */ setOf: typeof assertIsSetOf; }; export declare const check: { /** @checks `object` */ readonly any: import("@toolbox-ts/types/defs/function").TypeGuard, "ObjectAny">; /** @checks `T & object` */ readonly notPlain: { readonly name: "checkIsObjectNotPlain"; readonly typeName: "ObjectNotPlain"; } & ((v: unknown) => boolean); /** @checks `T & Record\` */ readonly notEmpty: { readonly name: "checkIsObjectNotEmpty"; readonly typeName: "ObjectNotEmpty"; } & ((v: unknown) => boolean); /** @checks `Record\` */ readonly empty: import("@toolbox-ts/types/defs/function").TypeGuard, "ObjectEmpty">; /** @checks `Iterable` */ readonly iterable: import("@toolbox-ts/types/defs/function").TypeGuard, "ObjectIterable">; /** @checks `'__proto__' | 'constructor' | 'prototype'` */ readonly prototypeKey: import("@toolbox-ts/types/defs/function").TypeGuard, "ObjectPrototypeKey">; /** @checks `T & InstanceType\` */ readonly proxy: never; /** @checks `T & T.Key0.Key1...KeyN: V */ readonly withEntry: { readonly name: "checkIsObjectWithEntry"; readonly typeName: "ObjectWithEntry"; } & ((v: unknown, key: string, valueGuard?: ((value: unknown) => value is unknown) | undefined) => boolean); /** @checks `T & \{ [K in Keys]: unknown \}` */ readonly withKeys: { readonly name: "checkIsObjectWithKeys"; readonly typeName: "ObjectWithKeys"; } & ((v: unknown, keys: readonly string[]) => boolean); /** @checks `Record\` */ readonly withValues: { readonly name: "checkIsObjectWithValues"; readonly typeName: "ObjectWithValues"; } & ((v: unknown, valueGuard: (value: unknown) => value is unknown) => boolean); /** @checks `T & object` */ readonly extensible: { readonly name: "checkIsObjectExtensible"; readonly typeName: "ObjectExtensible"; } & ((v: unknown) => boolean); /** @checks {@link Frozen} */ readonly frozen: { readonly name: "checkIsObjectFrozen"; readonly typeName: "ObjectFrozen"; } & ((v: unknown) => boolean); /** @checks `T & object` */ readonly sealed: { readonly name: "checkIsObjectSealed"; readonly typeName: "ObjectSealed"; } & ((v: unknown) => boolean); /** @checks `T & Record\` */ readonly plain: { readonly name: "checkIsObject"; readonly typeName: "Object"; } & ((v: unknown) => boolean); /** @checks `Map\` */ readonly mapWithEntries: { readonly name: "checkIsMapWithEntries"; readonly typeName: "MapWithEntries"; } & ((v: unknown, validators: Record x is unknown>) => boolean); /** @checks `Map\` */ readonly mapWithKeys: { readonly name: "checkIsMapWithKeys"; readonly typeName: "MapWithKeys"; } & ((v: unknown, keys: readonly string[]) => boolean); /** @checks `Map\` */ readonly mapWithValues: { readonly name: "checkIsMapWithValues"; readonly typeName: "MapWithValues"; } & ((v: unknown, valueGuard: (x: unknown) => x is unknown) => boolean); /** @checks `Set` */ readonly setOf: { readonly name: "checkIsSetOf"; readonly typeName: "SetOf"; } & ((v: unknown, valueValidator: (val: unknown) => val is unknown) => boolean); };