import "dayjs/locale/en"; import { CodeSource, CommonFilePath, DtmplConfig, MenuConfigAPIType, PageInfo, SelectedRow } from "./interface"; export default class HcserviceV3 { static requestEnum(serverKey: string, mstrucIds: any, path: string): Promise; static getJsonValue: (file: any) => any; static toFilePath(value: any, serverKey: any): CommonFilePath; static toFilePathObject(jsonValue: any, serverKey: string): any; static requestEnumWithPath(serverKey: string, mstrucIds: any, path: any): Promise; static requestOptions(serverKey: string, mstrucId: any): Promise; static requestDtmplConfig(serverKey: string, sourceId: string, code: string): Promise; static requestTtmplConfig(serverKey: string, sourceId: string): Promise; static requestEttmplConfig(serverKey: string, sourceId: string): Promise; static requestViewDtmplConfig(serverKey: string, sourceId: string): Promise; static requestAddDtmplConfig(serverKey: string, sourceId: string, addTmplId: string): Promise; static requestSelectConfig(serverKey: string, sourceId: any): Promise; static requestLtmplConfig(serverKey: string, sourceId: string): Promise; static requestL2LtmplConfig(serverKey: string, sourceId: any): Promise; static requestLtmplQueryKey(serverKey: string, sourceId: string, condition?: any): Promise; static requestGttRootQueryKey(serverKey: string, sourceId: string, condition?: any): Promise; static requestLtmplQueryTop(serverKey: string, sourceId: string, condition: any): Promise; static requestQueryReportData(serverKey: string, queryKey: string, language: string): Promise; static requestTtmplRootData(serverKey: string, sourceId: string, condition: any): Promise; static requestMstrucLtmplQueryTop(serverKey: string, sourceId: string, condition: any): Promise; static queryTop1(serverKey: string, sourceId: string): Promise; static requestCommonLtmplQueryTop(serverKey: string, sourceId: string, condition: any, url: any): Promise; static requestSelectedData(serverKey: string, sourceId: string, codes: any): Promise; static isForeignLanguageMode(): boolean; static requestVersionList(serverKey: string, sourceId: string, code: any, pageNo?: number): Promise; static requestFieldVersionList(serverKey: string, sourceId: string, code: any): Promise; static requestCommonDtmplData(serverKey: string, sourceId: string, code: any, versionId: any, url: any): Promise; static requestDtmplData(serverKey: string, sourceId: string, code: any, versionId: any): Promise; static getDtmplData(dtmplConfig: DtmplConfig, serverKey: string, sourceId: string, code: any): Promise; static requestMstrucDtmplData(serverKey: string, sourceId: string, code: any, versionId: any): Promise; static requestViewDtmplData(serverKey: string, sourceId: string, code: any, versionId: any): Promise; static requestViewDtmplAuditData(serverKey: string, sourceId: string, code: any, versionId: any): Promise; static requestMstrucViewDtmplData(serverKey: string, sourceId: any, code: any, versionId: any): Promise; static postCommonDtmplData(serverKey: string, sourceId: string, formDataObj: any, message: any, url: any): Promise<{ code: any; status: any; }>; static postDtmplData(serverKey: string, sourceId: string, formDataObj: any, message: any): Promise<{ code: any; status: any; }>; static postLtmplData(serverKey: string, sourceId: string, formDataObj: any, message: any): Promise<{ code: any; status: any; }>; static postLtmplMultiData(serverKey: string, sourceId: string, formDataObj: any, message: any): Promise<{ code: any; status: any; }>; static postMstrucDtmplData(serverKey: string, sourceId: string, formDataObj: any, message: any): Promise<{ code: any; status: any; }>; static postFileAction(serverKey: string, file: any): any; static postFile(formData: any): Promise; static requestL2LtmplQueryKey(serverKey: string, sourceId: any, condition: any): Promise; static requestLtmplCount(serverKey: string, sourceId: any): Promise; static requestQueryData(serverKey: string, queryKey: string, pageInfo: PageInfo): Promise; static getCodesOfSelectedRows(selectedRows: SelectedRow[]): string[]; static deleteData(serverKey: string, sourceId: any, selectedRows: SelectedRow[], mainCode?: any): Promise; static deleteByCode(serverKey: string, sourceId: any, codes: string[], mainCode?: any): Promise; static requestQueryAggregates(serverKey: string, queryKey: string): Promise; static doPostRequest(serverKey: string, url: string, params?: object): Promise; static doGetRequest(serverKey: string, url: string, params?: object): Promise; static requestChartData(serverKey: string, sourceId: string, params?: object): Promise; static requestCharMultitData(serverKey: string, dataSourceConfigs: string): Promise; static requestCharWSConfig(serverKey: string, sourceIds: string[]): Promise; static postActions(serverKey: string, actionId: string, selectedRows: SelectedRow[], actionDataObj?: Object): Promise; static increCalc(serverKey: string, sourceId: string, params?: {}): Promise; static saveRatmplSelectCodes(serverKey: string, sourceId: string, mainCode: any, codes: string[]): Promise; static doCopy(serverKey: string, sourceId: string, code: string, copyRelation?: any, copyOpp2One?: any): Promise; static queryCode(sourceId: string, codeSource: CodeSource, serverKey?: string): Promise; static download(serverKey: string, path: string, fileName?: string): void; static downloadDir(path: any, fileName: any): void; static openfile(serverKey: string, path: any, toolbar: any): void; static getFileNameFrom(path: any): any; static getFileSuffixFrom(fileName: any): any; static openfileDir(path: any, fileName: any, toolbar: any): void; static getFileUrl(serverKey: string, path: string): string; static loadFileTxt(serverKey: string, path: any): Promise; static requestBlocks(l2MenuId: string, blockId: string, programCode?: string, applicationCode?: string): Promise; static requestBlockMenuAuths(): Promise; static requestRoleAuths(roleCode: string): Promise; static postRoleAuths(roleCode: string, auths: string[]): Promise; static logout(): Promise; static logout2(): Promise; static resetPassword(serverKey: string, oPassword: string, nPassword: string, pubkey: any): Promise; static resetPassword2(serverKey: string, userName: string, oPassword: string, nPassword: string, pubkey: any): Promise; static getContextSourceConfig(): Promise; static getContextSourceValue(): Promise; static loginServer(serverKey: string, username: string, password: string): Promise<{ status: any; token: any; } | { status: string; message: string; }>; static login(json: any, kaptchaToken: any, kaptchaText: any, pubkey: any, programCode?: string, serverKey?: string, applicationCode?: string): Promise<{ status: any; token: any; }>; static setContext(json: any): Promise; static getKaptchaToken(programCode?: string, applicationCode?: string): Promise; static getRasPubkey(serverKey?: string, programCode?: string, applicationCode?: string): Promise; static getUser(programCode?: string, hydrocarbonToken?: string, applicationCode?: string): Promise; static requestFastMenu(): Promise; static reload(): Promise; static getAllLang(serverKey?: string): Promise; static getLocale(lang: any, serverKey?: string): Promise; static initProgramConfig(ProgramConfigJson: any): Promise; static requestDDpageData(ddpageId: string): Promise; static ssoTokenLogin(json: { username: string; ssoToken: string; }, programCode?: string, serverKey?: string, applicationCode?: string): Promise; static getThemeConfig(serverKey?: string, programCode?: string, applicationCode?: string): Promise; static getLtmplDataGroupCount(sourceId: string): Promise; static setPageConfigDefault(name: string, menuCode: string, content: string): Promise; static getPageConfigDefault(): Promise; static deletePageConfigDefault(menuCode: string): Promise; static setPageConfigCommon(name: string, menuCode: string, content: string, configCode?: string): Promise; static getPageConfigCommon(menuCode?: string): Promise; static deletePageConfigCommon(configCode: string): Promise; static getQuickMenu(): Promise; static postQuickMenu(menuCodes: string[]): Promise; static deleteQuickMenu(menuCode: string): Promise; static wsPush(hydrocarbonToken: any, data: any): Promise; static wsPushTopic(hydrocarbonToken: any, data: any): Promise; static get2DComponent(groups: string[]): Promise; static postDiagram2DConfig(recordCode: string, content: string): Promise; static getDiagram2DConfig(recordCode: string): Promise; static requestEttmplQueryKey(serverKey: string, sourceId: any, condition: any): Promise; static requestEttmplLtmplConfig(serverKey: string, ettmplId: string, sourceId: string): Promise; } //# sourceMappingURL=hcservice-v3.d.ts.map