/**
 * Bounded concurrency helper. 30-line in-house alternative to the `p-limit`
 * npm package — keeps the dep graph thin (CLAUDE.md §2 hard rule #7).
 *
 * Usage:
 *   const limit = pLimit(8);
 *   const results = await Promise.all(items.map((item) => limit(() => doAsync(item))));
 */
export type Limiter = <T>(fn: () => Promise<T>) => Promise<T>;
export declare function pLimit(concurrency: number): Limiter;
