import { LooseObject } from './helpers.js'; import { BubbleController } from './events.js'; export interface HTMLMcElement extends HTMLElement { _mc: LooseObject; } declare class McBase { private _target; constructor(target?: { [key: string]: any; }); get target(): any; } declare class MC extends McBase { constructor(target?: any); } declare class DC extends McBase { constructor(target: HTMLElement); static add(target: HTMLElement, key: string, element?: any): HTMLMcElement; static remove(target: HTMLElement, key: string): void; off(eventName: string, handler: EventListenerOrEventListenerObject): void; on(eventName: string, handler: EventListenerOrEventListenerObject): EventListenerOrEventListenerObject; one(eventName: string, handler: EventListenerOrEventListenerObject): EventListenerOrEventListenerObject; trigger(eventName: string, data?: any, bubble?: string, controller?: BubbleController): void; ancestors(): DC[] | null; closest(): DC | null; children(): DC[] | null; descendants(): DC[] | null; } declare function autoload(enable?: boolean): boolean; export { MC, DC, McBase, autoload }; //# sourceMappingURL=MC.d.ts.map