import type { AuthBrowserSession, SavedAuthUser, SerializedCookie, UserProfile, WorkspaceOption } from "../lib/types.js"; import type { OpenMeego } from "./index.js"; export declare class AuthNamespace { #private; constructor(client: OpenMeego); login(options?: { domain?: string; onQrCode?: (qrUrl: string) => void | Promise; onWaiting?: () => void | Promise; onProfile?: (profile: UserProfile) => void | Promise; chooseWorkspace?: (workspaces: WorkspaceOption[]) => Promise; sessionFactory?: (projectOrigin: string) => Promise; fetchProfile?: (options: { cookies: SerializedCookie[]; projectOrigin: string; }) => Promise; saveCookies?: (authFilePath: string, cookies: SerializedCookie[]) => Promise; recordUser?: (homeDir: string, profile: UserProfile, projectOrigin: string) => Promise; }): Promise; listUsers(): Promise; switchUser(selector?: string): Promise; deleteUser(authId: string): Promise; } //# sourceMappingURL=auth.d.ts.map