import { ComponentContext } from "@alloy-js/core"; import { SessionContext } from "@power-plant/core"; //#region src/core/contexts/session.d.ts /** * The session context used to access the session data. */ declare const SessionContext$1: ComponentContext; /** * Hook to access the session context. * * @returns The session context. * @throws An error if the session context is not set. */ declare function useSession(): SessionContext; /** * Hook to safely access the session context. * * @returns The session context or undefined if not set. */ declare function useSessionSafe(): SessionContext | undefined; //#endregion export { useSession as n, useSessionSafe as r, SessionContext$1 as t }; //# sourceMappingURL=session-C2p15ap9.d.mts.map