import { Injector } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import { BaseService } from './base-all.service'; export declare class DataObject { constructor(); [Symbol.species]: any; } export declare class BaseDataService extends BaseService { protected apiUrl: string; protected listViewUrl: string; protected formViewUrl: string; protected idField: string; protected valuelistTypes: string[]; protected static CachedDataMap: Map; constructor(injector: Injector); setIdField(value: string): void; getIdField(): string; setIsTest(value: boolean): void; getIsTest(): boolean; setValuelistTypes(typenames: string[]): void; getValuelistTypes(): string[]; getContextPath(url: string): string; getApiUrl(): string; setApiUrl(url: string): void; setPageViewUrl(url: string, view: string): void; setListViewUrl(url: string): void; getListViewUrl(): string; setFormViewUrl(url: string): void; getFormViewUrl(): string; getAccessToken(): string; create(newRow: Object): Observable; update(updatedRow: Object): Observable; delete(id: number): Observable; getDetail(id: number | string): Observable; executeCmd(command: string, params: Object): Observable; getList(action: string, params: any, pageIndex: number, pageSize: number, customUrl?: string): Observable; callServiceAPI(apiUrl: string, params: any): Observable; getValueList(typeName: string): Observable; getTreeData(dataUrl: string): Observable; buildTree(input: any, idColumn: string, parentColumn: string, textColumn: string): any; findParent(nodes: any, nid: number): any; loadValueListData(): Object; getValue(item: any, field: string): any; getUrl(url: string): string; }