/**************************************************************************** * 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 { AutomapMode, CalculateMacromoleculePropertiesResult, CalculateProps, CalculateResult, CheckResult, CheckTypes, ChemicalMimeType, ConvertResult, InfoResult, OutputFormatType } from "../domain/services"; import { StructOrString } from "./indigo.types"; import { SequenceType, Struct } from "../domain/entities"; declare type ConvertOptions = { outputFormat?: ChemicalMimeType; inputFormat?: ChemicalMimeType; sequenceType?: SequenceType; outputContentType?: ChemicalMimeType; monomerLibrarySavingMode?: string; molfileSavingSkipDate?: string; }; declare type AutomapOptions = { mode?: AutomapMode; }; declare type CheckOptions = { types?: Array; }; declare type CalculateOptions = { properties?: Array; }; declare type RecognizeOptions = { version?: string; }; declare type GenerateImageOptions = { outputFormat?: OutputFormatType; backgroundColor?: string; bondThickness?: number; }; export declare class Indigo { #private; constructor(structService: any); info(): Promise; convert(struct: StructOrString, options?: ConvertOptions): Promise; layout(struct: StructOrString, options: any): Promise; clean(struct: StructOrString): Promise; aromatize(struct: StructOrString): Promise; dearomatize(struct: StructOrString): Promise; calculateCip(struct: StructOrString): Promise; automap(struct: StructOrString, options?: AutomapOptions): Promise; check(struct: StructOrString, options?: CheckOptions): Promise; calculate(struct: StructOrString, options?: CalculateOptions): Promise; recognize(image: Blob, options?: RecognizeOptions): Promise; generateImageAsBase64(struct: StructOrString, options?: GenerateImageOptions): Promise; toggleExplicitHydrogens(struct: StructOrString): Promise; calculateMacromoleculeProperties(struct: string): Promise; } export {};