import LilliaCore from "./index";
export default class LilliaComponent {
    id: string | null;
    data: any;
    core: LilliaCore;
    constructor(core: LilliaCore);
    on(type: string, cb: (data: {
        from: string;
        content: any;
    }) => void): void;
    off(type: string, cb: (data: {
        from: string;
        content: any;
    }) => void): void;
    emit(type: string, detail: {
        elevent: string;
        [key: string]: any;
    }, toIds: string[]): void;
    destroy(): void;
}
//# sourceMappingURL=component.d.ts.map