import type { PluginRuntime } from "./types.js"; /** * Set the WeChat MP plugin runtime. * Called during plugin registration to inject host runtime capabilities. */ export declare function setWechatMpRuntime(next: PluginRuntime): void; /** * Get the WeChat MP plugin runtime. * Throws if runtime is not initialized. */ export declare function getWechatMpRuntime(): PluginRuntime; /** * Try to get the WeChat MP plugin runtime. * Returns null if not initialized instead of throwing. */ export declare function tryGetWechatMpRuntime(): PluginRuntime | null; /** * Clear the WeChat MP plugin runtime. * Used for cleanup and testing. */ export declare function clearWechatMpRuntime(): void; //# sourceMappingURL=runtime.d.ts.map