const USERDATA_TIMED_TRANSCRIPT = "lk.timed_transcripts";
const FlushSentinel = Symbol.for("lk.FlushSentinel");
function isFlushSentinel(value) {
  return value === FlushSentinel;
}
const DEFAULT_API_CONNECT_OPTIONS = {
  maxRetry: 3,
  retryIntervalMs: 2e3,
  timeoutMs: 1e4
};
function intervalForRetry(connOptions, numRetries) {
  if (numRetries === 0) {
    return 0.1;
  }
  return connOptions.retryIntervalMs;
}
const DEFAULT_SESSION_CONNECT_OPTIONS = {
  sttConnOptions: DEFAULT_API_CONNECT_OPTIONS,
  llmConnOptions: DEFAULT_API_CONNECT_OPTIONS,
  ttsConnOptions: DEFAULT_API_CONNECT_OPTIONS,
  maxUnrecoverableErrors: 3
};
export {
  DEFAULT_API_CONNECT_OPTIONS,
  DEFAULT_SESSION_CONNECT_OPTIONS,
  FlushSentinel,
  USERDATA_TIMED_TRANSCRIPT,
  intervalForRetry,
  isFlushSentinel
};
//# sourceMappingURL=types.js.map