export interface FtWebappUser { isAuthenticated: boolean; roles: string[]; profile?: { id: string; displayName: string; emailAddress: string; }; } export interface FluidTopicsAuthenticationService { getUser(): FtWebappUser; directLogin(login: string, password: string): Promise; logout(): Promise; } declare global { interface Window { FluidTopicsAuthenticationService: FluidTopicsAuthenticationService; } } export declare class FtWebappAuthenticationService { static getUser(): FtWebappUser; static directLogin(login: string, password: string): Promise; static logout(): Promise; }