import type { ModelContext, ModelContextWithResources, ResourceDescriptor } from './types.js'; /** * Install the resource extension onto a `document.modelContext` object. Safe to * call repeatedly: the second call is a no-op. Mutates `mc` in place and returns * it typed with the resource surface. */ export declare function installResourceExtension(mc: ModelContext): ModelContextWithResources; /** * Producer-side convenience: register a live-state resource on * `document.modelContext` without casting. Equivalent to * `document.modelContext.registerResource(...)` but SSR-safe (a no-op when no * model context is present). Returns an unregister function. */ export declare function registerResource(resource: ResourceDescriptor): () => void; //# sourceMappingURL=resources.d.ts.map