/**************************************************************************** * Copyright 2021 EPAM Systems * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. ***************************************************************************/ import { AromatizeData, AromatizeResult, AutomapData, AutomapResult, CalculateCipData, CalculateCipResult, CalculateData, CalculateResult, CheckData, CheckResult, CleanData, CleanResult, ConvertData, ConvertResult, DearomatizeData, DearomatizeResult, ExplicitHydrogensData, ExplicitHydrogensResult, GenerateImageOptions, InfoResult, LayoutData, LayoutResult, RecognizeResult, StructService, StructServiceOptions, CalculateMacromoleculePropertiesData, CalculateMacromoleculePropertiesResult } from 'ketcher-core'; declare class IndigoService implements StructService { private readonly defaultOptions; private readonly worker; private readonly EE; private ketcherId; constructor(defaultOptions: StructServiceOptions); addKetcherId(ketcherId: string): void; private getStandardServerOptions; private callIndigoNoRenderLoadedCallback; private callIndigoLoadedCallback; getInChIKey(struct: string): Promise; info(): Promise; convert(data: ConvertData, options?: StructServiceOptions): Promise; layout(data: LayoutData, options?: StructServiceOptions): Promise; clean(data: CleanData, options?: StructServiceOptions): Promise; aromatize(data: AromatizeData, options?: StructServiceOptions): Promise; dearomatize(data: DearomatizeData, options?: StructServiceOptions): Promise; calculateCip(data: CalculateCipData, options?: StructServiceOptions): Promise; automap(data: AutomapData, options?: StructServiceOptions): Promise; check(data: CheckData, options?: StructServiceOptions): Promise; calculate(data: CalculateData, options?: StructServiceOptions): Promise; recognize(_blob: Blob, _version: string): Promise; generateImageAsBase64(inputData: string, options?: GenerateImageOptions): Promise; toggleExplicitHydrogens(data: ExplicitHydrogensData, options?: StructServiceOptions): Promise; calculateMacromoleculeProperties(data: CalculateMacromoleculePropertiesData, options?: StructServiceOptions): Promise; destroy(): void; } export default IndigoService;