export type GatewayIdentifyFailureCategory = "identify-budget-exhausted" | "session-start-limit-exhausted"; export interface GatewayIdentifyScheduler { clearTimeout(handle: unknown): void; setTimeout(handler: () => void, milliseconds: number): unknown; } export interface GatewayIdentifyCoordinatorOptions { clock?: () => number; maxConcurrency: number; onFailure: (category: GatewayIdentifyFailureCategory) => void; onIdentify?: () => void; remaining: number; scheduler: GatewayIdentifyScheduler; shardCount: number; shardIds: readonly number[]; } export declare class GatewayIdentifyCoordinator { #private; constructor(options: GatewayIdentifyCoordinatorOptions); get remaining(): number; request(shardId: number, send: () => boolean): () => void; stop(): void; } //# sourceMappingURL=gateway-identify-coordinator.d.ts.map