export type ScopedExpiringIdCache = { record: (scope: TScope, id: TId, now?: number) => void; has: (scope: TScope, id: TId, now?: number) => boolean; clear: () => void; }; export declare function createScopedExpiringIdCache(options: { store: Map>; ttlMs: number; cleanupThreshold: number; }): ScopedExpiringIdCache;