import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class FormPermissionService { private _httpClient; visibleFormsMap: Map; private formList; private _visibleForms; isChildForm: boolean; constructor(_httpClient: HttpClient); /** * Getter for visible forms */ get visibleForms$(): Observable; /** * Getter for formList */ get formsList$(): Observable; /** * setter for formList */ set formLists(formList: any); /** * Get visible form list by the app-version id to show only visible forms on container * * @param appVersionId * @returns */ getVisibleFormList(appVersionId: string, axonatorX1Url: string): Promise; /** * To check user has permission to access particular form using formId * This function will return true if user has access otherwise will return false * * @param formId * @returns */ hasAccess(formId: string): boolean; /** * to get visible form list * * @param appVersionId * @param axonatorX1Url * @param asset * @param child * @param tracking * @returns */ getForms(appVersionId: string, axonatorX1Url: string, asset: boolean, child: boolean, tracking: boolean): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }