import { FhirContextImpl } from 'fhir-runtime';
import type { CanonicalProfile, FhirRuntimeInstance } from 'fhir-runtime';
/**
 * Get or create the shared FhirContext instance.
 */
export declare function getContext(): FhirContextImpl;
/**
 * Ensure core R4 definitions are preloaded (73 base SDs).
 */
export declare function ensureCoreDefinitions(): Promise<FhirContextImpl>;
/**
 * Get or create the shared FhirRuntimeInstance (v0.8.0+).
 * Uses createRuntime() with the pre-configured FhirContext.
 */
export declare function getRuntime(): Promise<FhirRuntimeInstance>;
/**
 * Build a CanonicalProfile for a given resource type.
 * Loads the base StructureDefinition from context and generates a snapshot if needed.
 */
export declare function getCanonicalProfileForType(resourceType: string): Promise<CanonicalProfile>;
/**
 * Reset the context (for testing).
 */
export declare function resetContext(): void;
//# sourceMappingURL=context.d.ts.map