/** * Internal SDK configuration. * * The PUBLIC surface (`SealantConfig` in `../types.ts`) is intentionally minimal: `{ baseUrl, apiKey }`. * The SDK is now a thin HTTP client (run execution + telemetry moved server-side), so the only * host-local concerns left are the owner principal and the registry id used on create/run * payloads. The owner comes from `SealantConfig.ownerUserId` when a product acts on behalf of a * specific user (one client per user), else from the environment with docker-compose defaults. */ import type { SealantConfig } from "../types.js"; export interface SealantHostLocalConfig { /** Owner principal the control plane attributes workspaces/runs to (pre-auth). */ readonly ownerUserId: string; /** Registry the workspace image is published to and launched from. */ readonly registryId: string; } export interface SealantInternalConfig { readonly baseUrl: string; readonly apiKey: string | undefined; readonly fetch: typeof fetch | undefined; readonly hostLocal: SealantHostLocalConfig; } /** Resolves the public config plus host-local needs (from env, with docker-compose defaults). */ export declare const resolveInternalConfig: (config: SealantConfig) => SealantInternalConfig;