import * as React from "react"; import { type BillingSession } from "../session.js"; export declare function SessionProvider({ session, children, }: { session: BillingSession; children: React.ReactNode; }): React.JSX.Element; /** * The current session: `{ user, orgId, role, isAdmin, plan }`. * * Outside a `` this returns the anonymous session rather than * throwing, so a component can render on a public page and in the app without * knowing which it is. It fails closed — `isAdmin` is false — so a forgotten * provider hides privileged UI instead of exposing it. */ export declare function useSession(): BillingSession; export { ANONYMOUS_SESSION, type BillingSession, type SessionUser } from "../session.js"; //# sourceMappingURL=session.d.ts.map