import { Maybe } from 'monet'; /** * Gets the value of an object at the specified key. * @param key - the key to get * @returns a Some of the value at the key, or a None otherwise * ```typescript * pipe( * { x: 3 }, * Objects.get('x') // -> Some(3) * ); * ``` */ export declare function get(key: keyof T): (obj: T) => Maybe; /** * Gets the keys of an object. * @returns an array of all the keys the object contains * ```typescript * pipe( * { x: 2, y: 3 }, * Objects.keys() // -> ['x','y'] * ); * ``` */ export declare function keys(noArg?: never): (obj: T) => (keyof T)[]; /** * Gets the values of an object. * @returns an array of all the values the object contains * ```typescript * pipe( * { x: 2, y: 3 }, * Objects.values() // -> [2,3] * ); * ``` */ export declare function values(noArg?: never): (obj: T) => T[keyof T][]; /** * Gets the entries of an object. * @returns an array of all the key/value pairs the object contains * ```typescript * pipe( * { x: 2, y: 3 }, * Objects.entries() // -> [['x', 2], ['y', 3]] * ); * ``` */ export declare function entries(noArg?: never): (obj: T) => [keyof T, T[keyof T]][]; /** * Checks whether the object has a property. * @param key - the key to check * @returns true if the object has own property for the given key * ```typescript * pipe( * { x: number }, * Objects.has('x') // -> true * ); * ``` */ export declare const has: (key: any) => (obj: T) => boolean;