import React from 'react'; import type { AuthTokenDetails } from '@gleanwork/web-sdk'; import type { PluginOptions } from '../options'; interface GuestAuthContextValue { authToken: AuthTokenDetails; isLoading: boolean; error: Error | null; refreshToken: () => Promise; } interface GuestAuthProviderProps { children: React.ReactNode; pluginOptions: PluginOptions; backend?: string; } export declare function GuestAuthProvider({ children, pluginOptions, backend }: GuestAuthProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useGuestAuth(): GuestAuthContextValue; export declare function useGuestAuthOptional(): GuestAuthContextValue | null; export declare function applyGuestAuth(pluginOptions: PluginOptions, options: T, authToken?: AuthTokenDetails, onAuthTokenRequired?: () => Promise): Promise Promise; }>; export {};