interface DedupeAsyncOptions { /** * Optional callback invoked when a duplicate call is detected. The first * caller's invocation runs normally; this fires for the 2nd, 3rd, … * Useful for logging "shutdown already in progress; ignoring duplicate * signal". * * Receives the *duplicate* call's args (not the first call's). The first * call's args are what the wrapped function actually ran with — duplicates * are intentionally short-circuited and their args are dropped from * execution but surfaced here for logging. */ onDuplicate?: (...args: TArgs) => void; } export declare function dedupeAsync(fn: (...args: TArgs) => Promise, options?: DedupeAsyncOptions): (...args: TArgs) => Promise; export {}; //# sourceMappingURL=dedupe-async.d.ts.map