export type IGondelComponent = new (context: TElement, componentName: string) => GondelComponent; export type StartMethod = ((resolve: Function, reject?: Function) => void) | (() => Promise) | (() => void); export interface GondelComponent { _ctx: TElement; _namespace: string; _componentName: string; _stopped: boolean; start?: StartMethod; stop?(): void; sync?(): void; } export declare class GondelBaseComponent implements GondelComponent { constructor(domNode: TElement, componentName: string); /** * The component context */ _ctx: TElement; /** * The namespace e.g. 'g' */ _namespace: string; /** * The componentname e.g. 'Input' */ _componentName: string; /** * Stopped */ _stopped: boolean; /** * Stop method */ stop(): void; }