import { ElementSchema, IDashboardLifecycle, IElementController, IRenderContext } from '../../types'; export declare type LifecycleAdapterProps = { lifecycle: Partial; }; export default class LifecycleAdapter implements IDashboardLifecycle { private lifecycle; constructor(props: LifecycleAdapterProps); onBeforeSourceAdd(data: ElementSchema, ctx: IRenderContext): boolean; onSourceAdd(element: IElementController, data: ElementSchema, ctx: IRenderContext): true | void; onElementChange(element: IElementController, propsType: string, ctx: IRenderContext): void; }