import type { HostAppActions } from '../v1/types.js'; import { GameSdk } from './GameSdk.js'; export interface HostRuntimeContext { token?: string | null; apiBaseUrl?: string | null; runtimeUrl?: string | null; launchToken?: string | null; ticket?: string | null; gameId?: string | number | null; postId?: string | number | null; user?: { id?: string | number | null; } | null; userId?: string | number | null; } export interface HostSdkOptions { app?: HostAppActions; context?: HostRuntimeContext; bootstrap?: () => Promise; } export declare function readHostRuntimeContext(source?: HostRuntimeContext | undefined, url?: string | undefined): { apiBaseUrl: string; launchToken: string; gameId: string; userId: string | null; }; export declare function createGameSdkFromHost(options?: HostSdkOptions): GameSdk;