import { IMyopComponent } from "../components/IMyopComponent"; import { loaderOptions } from "../hostSDK"; import { IComponentDefinitionConfig, ISkinConfig, SkinLoaderType } from "../../common"; export interface IMyopLoader { type: SkinLoaderType; load: (componentDefinition: IComponentDefinitionConfig, skin: ISkinConfig, container: HTMLElement, options?: loaderOptions) => Promise; } export declare abstract class BaseMyopLoader implements IMyopLoader { abstract type: SkinLoaderType; abstract load: (componentDefinition: IComponentDefinitionConfig, skin: ISkinConfig, container: HTMLElement, options?: loaderOptions) => Promise; appendChild: (container: HTMLElement, element: HTMLElement, options?: loaderOptions) => HTMLElement; }