/**************************************************************************** * 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, CalculateMacromoleculePropertiesData, CalculateMacromoleculePropertiesResult, CalculateResult, CheckData, CheckResult, CleanData, CleanResult, ConvertData, ConvertResult, DearomatizeData, DearomatizeResult, ExplicitHydrogensData, ExplicitHydrogensResult, GenerateImageOptions, InfoResult, LayoutData, LayoutResult, RecognizeResult, StructService, StructServiceOptions } from "../../../domain/services"; export declare function pickStandardServerOptions(ketcherId: string, options?: StructServiceOptions): { 'dearomatize-on-load': string | number | boolean | undefined; 'aromaticity-model': string; 'smart-layout': string | number | boolean | undefined; 'ignore-stereochemistry-errors': string | number | boolean | undefined; 'mass-skip-error-on-pseudoatoms': string | number | boolean | undefined; 'gross-formula-add-rsites': string | number | boolean | undefined; 'gross-formula-add-isotopes': string | number | boolean | undefined; 'ignore-no-chiral-flag': any; 'aromatize-skip-superatoms': boolean; }; export declare class RemoteStructService implements StructService { private readonly apiPath; private readonly defaultOptions; private readonly customHeaders?; private ketcherId; constructor(apiPath: string, defaultOptions: StructServiceOptions, customHeaders?: Record); addKetcherId(ketcherId: string): void; getInChIKey(struct: string): Promise; private getStandardServerOptions; 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(data: string, options?: GenerateImageOptions): Promise; toggleExplicitHydrogens(data: ExplicitHydrogensData, options?: StructServiceOptions): Promise; calculateMacromoleculeProperties(data: CalculateMacromoleculePropertiesData, options?: StructServiceOptions): Promise; }