import { Struct } from "../domain/entities"; import { DrawingEntitiesManager } from "../domain/entities/DrawingEntitiesManager"; import { FormatterFactory, SupportedFormat } from './formatters'; import { Ketcher } from './ketcher'; import { StructService } from "../domain/services"; import { EditorSelection } from './editor/editor.types'; declare class KetcherProvider { private readonly ketcherInstances; addKetcherInstance(instance: Ketcher): void; removeKetcherInstance(id: any): void; getIndexById(id: string): number; getKetcher(id?: string): Ketcher; } declare const ketcherProvider: KetcherProvider; export { ketcherProvider }; export declare function getStructure(ketcherId: string, formatterFactory: FormatterFactory, struct: Struct, structureFormat?: SupportedFormat, drawingEntitiesManager?: DrawingEntitiesManager, selection?: EditorSelection): Promise; export declare function prepareStructToRender(structStr: string, structService: StructService, ketcherInstance: Ketcher): Promise; export declare function parseStruct(structStr: string, structService: StructService, ketcherInstance: Ketcher): Promise; export declare function deleteAllEntitiesOnCanvas(): void; export declare function parseAndAddMacromoleculesOnCanvas(struct: string, structService: StructService, mergeWithLatestHistoryCommand?: boolean): Promise;