/**
 * Session-ingress API — stub.
 *
 * The upstream module pushed session data (transcripts, attachments) to a
 * Sandcode-hosted ingress endpoint so it could be replayed in the web UI.
 * Sandcode has no first-party ingress; this stub keeps the wildcard
 * `import * as sessionIngress` and the /clear cache-clearing call sites
 * compiling.
 *
 * Wildcard-friendly: every property the upstream sessionStorage.ts
 * destructures off the namespace is exposed here as a no-op so call sites
 * don't have to be rewritten.
 */

export function clearAllSessions(): void {
  /* no-op */
}

export async function flushPendingUploads(): Promise<void> {
  /* no-op */
}

export function isSessionIngressEnabled(): boolean {
  return false
}

export async function uploadSession(_sessionId: string, _data: unknown): Promise<void> {
  /* no-op */
}

export async function uploadAttachment(
  _sessionId: string,
  _attachment: unknown,
): Promise<string | null> {
  return null
}
