/** * Internal types for the Gladia Client. * Not to be exported to the public API. */ import type { Headers } from './network/types.js' import type { GladiaClientOptions, HttpRetryOptions, PreRecordedV2Timeouts, WebSocketRetryOptions, } from './types.js' type InternalHttpRetryOptions = Required type InternalWebSocketRetryOptions = Required type OptionalGladiaClientOptions = 'apiKey' | 'region' export type InternalGladiaClientOptions = Pick & Required< Omit< GladiaClientOptions, OptionalGladiaClientOptions | 'httpHeaders' | 'httpRetry' | 'wsRetry' | 'prerecordedTimeouts' > > & { httpHeaders: Headers httpRetry: InternalHttpRetryOptions wsRetry: InternalWebSocketRetryOptions prerecordedTimeouts: Required }