/** Opaque timer handle returned by a runtime clock implementation. */ export type RuntimeTimer = unknown; /** Runtime-owned clock seam for timeout-sensitive code and tests. */ export interface RuntimeClock { now(): number; setTimeout(callback: () => void, ms: number): RuntimeTimer; clearTimeout(timer: RuntimeTimer): void; } /** Runtime-owned HTTP client seam. */ export interface RuntimeHttpClient { fetch(url: string, init?: RequestInit): Promise; } /** Shared runtime services used by IO-heavy runtime components. */ export interface RuntimeServices { clock: RuntimeClock; http: RuntimeHttpClient; } /** Production clock backed by the JavaScript runtime. */ export declare const defaultRuntimeClock: RuntimeClock; /** Production HTTP client backed by global `fetch`. */ export declare const defaultRuntimeHttpClient: RuntimeHttpClient; /** Production runtime services. */ export declare const defaultRuntimeServices: RuntimeServices; /** Resolve partial runtime service overrides against production defaults. */ export declare function resolveRuntimeServices(services?: Partial): RuntimeServices; //# sourceMappingURL=runtime-services.d.ts.map