import { MaybePromise, SyncOrAsyncIterable } from '@mithic/commons'; import { MaybeAsyncReadonlyMap } from './map.js'; /** The RHS values of a map join. */ export type MapJoinRHS[]> = { [K in keyof T]: ReturnType; }; /** Left joins a tuple iterable (e.g. a Map) with other Maps by key. */ export declare function mapJoin[]>(iterable: Iterable, key: (lhs: L) => K | undefined, ...indices: I): IterableIterator<[...L, ...MapJoinRHS]>; /** The RHS values of an async map join. */ export type AsyncMapJoinRHS[]> = { [K in keyof T]: Awaited>; }; /** Left joins a maybe-async tuple iterable (e.g. a Map) with other maybe-async maps by key. */ export declare function mapJoinAsync[]>(iterable: SyncOrAsyncIterable, key: (lhs: L) => MaybePromise, ...indices: I): AsyncIterableIterator<[...L, ...AsyncMapJoinRHS]>; //# sourceMappingURL=join.d.ts.map