import { createRealtimeServer } from '@playcademy/realtime/server';
import type { SandboxRealtimeServer } from '@playcademy/realtime/server/sandbox';
import type { ServerOptions } from '../types';
/**
 * Starts the realtime server with sandbox-specific configuration.
 *
 * This function handles:
 * - Conditional startup based on options
 * - Sandbox-specific authentication secrets
 * - Quiet mode for clean embedded logging
 * - Error handling with graceful degradation
 *
 * @param realtimeOptions - Realtime configuration from ServerOptions
 * @param betterAuthSecret - Authentication secret for realtime server
 * @returns Promise resolving to realtime server instance or null
 */
export declare function startRealtimeServer(realtimeOptions: NonNullable<ServerOptions['realtime']>, betterAuthSecret: string): Promise<SandboxRealtimeServer | Awaited<ReturnType<typeof createRealtimeServer>> | null>;
