import HiveDriverError from '@databricks/sql/dist/errors/HiveDriverError'; import StatusError from '@databricks/sql/dist/errors/StatusError'; export declare const isDatabricksWarehouseStartingError: (error: unknown) => error is StatusError | HiveDriverError; export declare const DATABRICKS_WAREHOUSE_STARTUP_RETRY: { readonly initialDelayMs: 2000; readonly maxDelayMs: 30000; readonly deadlineMs: 600000; }; /** Delay before retry `attempt` (1-based), or null once the deadline would pass. */ export declare const getDatabricksWarehouseStartupRetryDelayMs: (attempt: number, elapsedMs: number) => number | null; /** One retry budget, shared across every session opened for a single operation. */ export declare class DatabricksWarehouseStartupRetry { private attempt; private firstFailureAt; /** Waits with backoff if the error is a warehouse startup error and budget remains. */ waitBeforeRetry(error: unknown): Promise; } //# sourceMappingURL=DatabricksWarehouseStartupRetry.d.ts.map