import type { Integer } from "neo4j-driver"; /** Checks if value is string */ export declare function isString(value: unknown): value is string; /** Checks if value is a Record (Array and other BuiltIn Object not included) */ export declare function isRecord(value: unknown): value is Record; /** Checks if two value have the same type */ export declare function isSameType(a: T, b: unknown): b is T; /** Checks if two objects have the number of properties */ export declare function haveSameLength(o1: Record, o2: Record): boolean; /** Checks if value is a Neo4j int object */ export declare function isNeoInt(value: unknown): value is Integer; /** Makes sure input is an array, if not it turns into an array (empty array if input is null or undefined) */ export declare function asArray(raw: T | Array | undefined | null): Array; /** Filter all elements in an array, only leaving truthy values */ export declare function filterTruthy(arr: Array): Array; /** Check if both arrays share at least one element */ export declare function haveSharedElement(arr1: Array, arr2: Array): boolean; /** Removes duplicate elements of an array */ export declare function removeDuplicates(arr: T[]): T[]; /** Awaitable version of setTimeout */ export declare function delay(ms: number): Promise; /** Omits fields from record */ export declare function omitFields(obj: Record, fields: string[]): Record; /** Keep only the provided fields from record */ export declare function filterFields(obj: Record, fieldsToKeep: string[]): Record; /** Rename the keys of given fields */ export declare function renameFields(obj: Record, fieldNameMap: Record): Record; //# sourceMappingURL=utils.d.ts.map