import type { graphql } from '%graphqlImports';
export type AuthRole = ReturnType<typeof graphql.scalar<'AuthRole'>>;
export interface SessionData {
    userId: string | undefined;
    isAuthenticated: boolean;
    roles: AuthRole[];
}
export declare const AuthSessionContext: import("react").Context<SessionData | undefined>;
/**
 * Provides the current session data such as the user id and whether the user is authenticated
 * This is the primary hook for accessing authentication state
 * @returns Current session data with computed isAuthenticated
 */
export declare function useSession(): SessionData;
//# sourceMappingURL=use-session.d.ts.map