/** * Svelte context helpers for app state */ import type { SmrtAppStateManager } from './app-state.svelte.js'; /** * Context key for app state */ export declare const APP_STATE_KEY: unique symbol; /** * Set app state in context (used by SmrtProvider) */ export declare function setAppStateContext(state: SmrtAppStateManager): void; /** * Get app state from context * @throws If called outside of SmrtProvider */ export declare function getAppStateContext(): SmrtAppStateManager; /** * Try to get app state from context * Returns null if not available (doesn't throw) */ export declare function tryGetAppStateContext(): SmrtAppStateManager | null; //# sourceMappingURL=context.d.ts.map