export interface DatabricksRawProtocolClientOptions { host: string; token: string | (() => string | Promise); fetchImpl?: typeof fetch; /** * Retries after the initial request for transient failures. Default 3. * Applied automatically only to reads and mutations explicitly classified as safe. */ maxRetries?: number; /** Base backoff in ms (exponential per attempt; `Retry-After` honored when present). Default 500. */ retryBaseDelayMs?: number; /** Abort signal forwarded to every request. */ signal?: AbortSignal; /** * Extra headers resolved per attempt — e.g. on-behalf-of propagation * (forwarding a user's access token or workspace OBO headers) without * rebuilding the client. Never logged. */ extraHeaders?: Record | (() => Record | Promise>); } export interface DatabricksRawProtocolRequestOptions { /** Explicitly classify a mutation. `always` must only be used for idempotent operations. */ retry?: "safe" | "always" | "never"; /** Per-operation retry count override. */ maxRetries?: number; /** Per-operation cancellation, combined with the client-wide signal when both are present. */ signal?: AbortSignal; /** Expected response media type for streaming protocols. */ accept?: "text/event-stream"; } /** * Quarantined raw transport for reviewed protocols that are absent from the modular Databricks SDK. * Stable APIs must use a generated `@databricks/sdk-*` service client instead. */ export declare class DatabricksRawProtocolClient { private readonly host; private readonly token; private readonly fetchImpl; private readonly maxRetries; private readonly retryBaseDelayMs; private readonly signal; private readonly extraHeaders; constructor(options: DatabricksRawProtocolClientOptions); get(path: string, query?: Record, options?: DatabricksRawProtocolRequestOptions): Promise; post(path: string, body?: unknown, query?: Record, options?: DatabricksRawProtocolRequestOptions): Promise; patch(path: string, body?: unknown, query?: Record, options?: DatabricksRawProtocolRequestOptions): Promise; delete(path: string, body?: unknown, query?: Record, options?: DatabricksRawProtocolRequestOptions): Promise; private requestJson; /** * Perform an authenticated request while leaving a successful response body unread. This is * intended for bounded binary downloads and streaming APIs such as Genie Agent Mode. */ postRaw(path: string, body?: unknown, query?: Record, options?: DatabricksRawProtocolRequestOptions): Promise; private send; } //# sourceMappingURL=raw-protocol-client.d.ts.map