import type { ReactNode } from 'react'; interface User { name: string; email: string; avatar?: string; id?: string; role?: string; profile?: { company_uuid: string; company_name: string; role: string; }; } interface Workspace { name: string; plan: string; avatar?: string; } interface AppContextType { user: User | null; workspace: Workspace | null; activeSection: string; isAuthenticated: boolean; token: string | null; setActiveSection: (section: string) => void; setUser: (user: User | null) => void; setWorkspace: (workspace: Workspace | null) => void; login: (token: string, user: User) => void; logout: () => Promise; } export declare function AppProvider({ children }: { children: ReactNode; }): import("react/jsx-runtime").JSX.Element; export declare function useApp(): AppContextType; export {};