import { MatDialog } from '@angular/material/dialog'; import { ApplicationUser } from '@mtna/core-user-ui'; import { MtnaApiConfig } from '@mtna/lib-ui'; import { BaseUserService } from '@mtna/lib-ui/base-user-service'; import { ErrorMessageDetails, MtnaErrorService } from '@mtna/lib-ui/error'; import { BaseUserAccountStateService, UserAccountState } from './base-state.service'; import * as i0 from "@angular/core"; export declare class StateService extends BaseUserAccountStateService { protected dialog: MatDialog; protected errorService: MtnaErrorService; protected userService: BaseUserService; constructor(dialog: MatDialog, errorService: MtnaErrorService, userService: BaseUserService, config?: MtnaApiConfig); addUser(user: ApplicationUser): void; filterOrganizations(filterText?: string): void; getUser(userId?: string, refresh?: boolean): void; queryOrgsAndRoles(): void; resetPasswordAdmin(): void; /** Updates the state with the selected organization, in case it doesn't already exist in the orgs. */ selectOrganization(organization: string): void; updateUser(user: ApplicationUser): void; protected userUpdate(changedUser: ApplicationUser): void; protected userUpdateAdmin(user: ApplicationUser): void; protected _handleError(state: Partial): (error: ErrorMessageDetails) => void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }