import { Observable } from 'rxjs'; import { VedraxApiService } from './vedrax-api.service'; import { DescriptorForm } from '../descriptor/descriptor-form'; import * as i0 from "@angular/core"; /** * Service that provides methods for getting descriptor form. */ export declare class FormDescriptorService { private apiService; /** * Cache of the descriptor form mainly used for creation form */ private descriptors; constructor(apiService: VedraxApiService); /** * Helper method for getting descriptor by endpoint * @param endpoint the API endpoint * @returns the descriptor from the API */ private getDescriptorFromCache; /** * Helper method for adding descriptor to the cache * @param endpoint the API endpoint * @param descriptor the returned descriptor from the API */ private addDescriptorToCache; /** * Method for getting descriptor either from cache or API * @param endpoint * @returns */ getDescriptor(endpoint?: string, addToCache?: boolean): Observable; /** * Method for getting the options from API * @param endpoint * @returns */ private getDescriptorFromAPI; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }