import { default as React } from 'react'; import { VystaClient, VystaConfig, VystaRoleService, VystaPermissionService } from '@datavysta/vysta-client'; import { useAuth, AuthWrapper } from '../hooks/useAuth'; export interface VystaServiceContextValue { roleService: VystaRoleService; permissionService: VystaPermissionService; profile: ReturnType["profile"]; permissions: ReturnType["permissions"]; canSelectConnection: ReturnType["canSelectConnection"]; isAuthenticated: boolean; profileLoading: boolean; profileError: unknown; loginLoading: boolean; loginError: unknown; auth: AuthWrapper; } export interface VystaServiceProviderProps { config: VystaConfig; children: (client: VystaClient) => React.ReactNode; apps?: string[]; } export declare const VystaServiceProvider: React.FC; export declare function useVystaServices(): VystaServiceContextValue;