import type { GatewayClientOptions } from "./client.js"; import { type EventLoopReadyOptions, type EventLoopReadyResult } from "./event-loop-ready.js"; export type GatewayClientStartable = { start(): void; }; export type EventLoopReadyWaiter = (options?: EventLoopReadyOptions) => Promise; export type GatewayClientStartReadinessOptions = { timeoutMs?: number; clientOptions?: Pick; signal?: AbortSignal; }; export declare function startGatewayClientWithReadinessWait(waitForReady: EventLoopReadyWaiter, client: GatewayClientStartable, options?: GatewayClientStartReadinessOptions): Promise; export declare function startGatewayClientWhenEventLoopReady(client: GatewayClientStartable, options?: GatewayClientStartReadinessOptions): Promise;