import { Recall } from "@protoplasm/recall"; declare type ItemType any> = Parameters[0]; declare type ElementType> = I extends Iterable ? T : never; export declare const ErrEmpty: (iterable?: Iterable | undefined) => import("./error").GraphQLErrorExt<"Empty"> & { message: string; iterable: Iterable | undefined; }; export declare const ErrTooMany: (iterable: Iterable) => import("./error").GraphQLErrorExt<"TooMany"> & { message: string; iterable: Iterable; }; export declare function first>(iter?: I): ElementType; export declare function only>(iter?: I): ElementType; export declare function maybe>(iter?: I): ElementType | undefined; export declare function maybeOne>(iter?: I): ElementType | undefined; export declare const groupBy: Recall<( any>(grouper: G) => >(...sources: Iterable[]) => Readonly, Iterable>>)>; export declare const flat: import("@protoplasm/recall").Replay<(>>(iters: I) => Iterator>, any, undefined>)>; export declare const concat: (...iters: Iterable[]) => Iterable; export {}; //# sourceMappingURL=each.d.ts.map