/** * Returns whether a value is a plain object * (an object that is created using an object literal, Object.create(null) or similar). * Rejects anything with a custom prototype or a non-object ECMAScript type. * Also rejects React elements and components * * **Note:** if the host environment does not support Symbol, any object with a $$typeof * property is considered a React element * * @param {*} test The value to check * @returns {boolean} Returns `true` if `test` is a plain object, else `false`. * @example * * isPlainObject({ a: 'test' }); //=> true * * isPlainObject(moment()); //=> false * * isPlainObject(); //=> false */ export declare const isPlainObject: (test: any) => test is Record; export default isPlainObject;