import type { Entry, ReadOnlyRecord } from "@vangware/types"; /** * Yields all entries of an object (including symbols). * * @category Generators * @example * ```typescript * const entries = objectEntries({ a: 1, b: 2 }); * entries.next(); // { value: ["a", 1], done: false } * entries.next(); // { value: ["b", 2], done: false } * entries.next(); // { value: undefined, done: true } * ``` * @param input Object to get entries from. * @returns Iterable with entries of the given object (including symbols). */ export declare const objectToEntries: ( input: ReadOnlyRecord, ) => { readonly [Symbol.iterator]: () => IterableIterator>; readonly next: ( ...args: [] | [undefined] ) => IteratorResult, any>; readonly return?: | ((value?: any) => IteratorResult, any>) | undefined; readonly throw?: | ((e?: any) => IteratorResult, any>) | undefined; };