import { BehaviorSubject } from "rxjs"; interface User { [key: string]: any; } declare enum ApiErrorCodes { invalidCredentials = 0, userNotActive = 1, emailAlreadyTaken = 2 } declare enum FormErrorCodes { invalidCredentials = 0 } export { User, ApiErrorCodes, FormErrorCodes }; export interface WorkspaceState { name: string; description: string; type: "local" | "team" | "pro"; syncState: "disabled" | "enabled" | "in-progress" | "failed"; selected: boolean; locked: boolean; id: string; } export declare class TeamService { constructor(_l: any, _e: any, _a: any, _p: any, _t: any, _m: any, _s: any, _r: any, _v: any, _i: any, _c: any, _n: any, _o: any, _y: any); get isLeappTeamStubbed(): boolean; get signedInUserState(): BehaviorSubject; get workspacesState(): BehaviorSubject; get syncingWorkspaceState(): BehaviorSubject; getTeamStatus(): Promise; setCurrentWorkspace(_?: boolean): Promise; signIn(_: string, __: string): Promise; signOut(_?: boolean): Promise; writeTouchIdCredentials(_: string, __: number): Promise; deleteTeamWorkspace(): Promise; switchToLocalWorkspace(): Promise; refreshWorkspaceState(_?: () => Promise): Promise; createCheckoutSession(_?: any, __?: any): Promise; getPrices(): Promise; setSyncState(_?: any): void; pushToRemote(): Promise; pullFromRemote(_?: any): Promise; removeSessionsAndIntegrationsFromCurrentWorkspace(): Promise; getKeychainCurrentWorkspace(): Promise; setKeychainCurrentWorkspace(_: string): Promise; }