export type CookieSameSite = "Lax" | "None" | "Strict"; export interface SerializedCookie { domain: string; expires: number; httpOnly: boolean; name: string; path: string; sameSite?: CookieSameSite; secure: boolean; value: string; } export interface UserProfile { email?: string; meegoUserKey: string; workspaceName?: string; username: string; } export type LoginResult = { projectOrigin: string; type: "authenticated"; } | { type: "no-project-access"; }; export interface WorkspaceOption { name: string; } export interface Logger { error(message: string): void; info(message: string): void; note(message: string, title?: string): void; step(message: string): void; success(message: string): void; warn(message: string): void; } export interface SavedAuthUser { authId: string; meegoUserKey: string; projectOrigin: string; updatedAt: string; username: string; workspaceName?: string; } export interface AuthBrowserSession { close(): Promise; getCookies(): Promise; open(): Promise; prepareQrLogin(): Promise; waitForLoginResult(options: { onQrCodeRefresh: (qrContent: string) => Promise; onWorkspaceSelection: (workspaces: WorkspaceOption[]) => Promise; }): Promise; } //# sourceMappingURL=types.d.ts.map