/** What every part of an app can ask about the session it runs in. */ export interface IOSenseSession { /** The app's display name. */ appName: string; /** The signed-in viewer's bearer, or null when nobody is signed in. */ token: string | null; /** IOSense's API host. */ apiBaseUrl: string; /** True when the app shows generated sample data rather than the plant's (no session, or asked for). */ sample: boolean; /** One sentence for a badge, so every app words it the same way. */ sampleNotice: string; /** Forget the session in this browser and show the sign-in screen again. */ signOut: () => void; } export declare const SAMPLE_NOTICE = "Sample data: not live plant readings"; export declare const SessionContext: import("react").Context; /** The session of the nearest ``. Throws outside one. */ export declare function useIOSense(): IOSenseSession;