import type { DisplayObjectConfig } from '../dom'; import type { BaseStyleProps } from '../types'; import { DisplayObject } from './DisplayObject'; export interface BaseCustomElementStyleProps extends BaseStyleProps { x?: number | string; y?: number | string; } /** * shadow root * @see https://yuque.antfin-inc.com/antv/czqvg5/pgqipg */ export declare abstract class CustomElement extends DisplayObject { isCustomElement: boolean; constructor({ style, ...rest }?: DisplayObjectConfig); /** * fired after element insert into DOM tree */ connectedCallback?(): void; /** * fired before element removed from DOM tree */ disconnectedCallback?(): void; attributeChangedCallback?(name: Key, oldValue: CustomElementStyleProps[Key], newValue: CustomElementStyleProps[Key], oldParsedValue?: any, newParsedValue?: any): void; } //# sourceMappingURL=CustomElement.d.ts.map