/** * Dumb and quick clone an object. Won't keep undefined properties. Types could * be tighted so that return type excludes undefined properties, but not really * needed. * * @template T * @param {T} obj * @returns {T} */ declare function clone(obj: T): T; declare function noop(): void; /** * Like `Object.hasOwn`, but refines the type of `key`. * * @template {Record} T * @param {T} obj * @param {string} key * @returns {key is (keyof T)} */ declare function hasOwn>(obj: T, key: string): key is (keyof T); export { clone, hasOwn, noop };