import type { Sync as S } from "./sync"; type IteratorFn = (...args: PARAMS) => Iterator; declare class SyncFunctionWrapperBase { #private; constructor(fn: IteratorFn, args: PARAMS); [Symbol.iterator](): S.Generator; } declare const SyncFunctionWrapper_base: import("./types").Constructor & import("./ienhancement").IEnhancements, [fn: IteratorFn, args: any[]]>; export declare class SyncFunctionWrapper extends SyncFunctionWrapper_base { constructor(fn: IteratorFn, args: PARAMS); } export declare namespace Sync { /** * Turn a function that returns an `Iterator` into an `Iterable` object which can be repeatedly * iterated over, invoking the function each time to produce a new `Iterator`. * @param fn A function that returns an `Iterator` * @param args Arguments to be passed to the function * @returns */ const wrap: (fn: IteratorFn, ...args: PARAMS) => SyncFunctionWrapper; } export {}; //# sourceMappingURL=sync-wrap.d.ts.map