import { App, Plugin } from '../types';
import { Element } from '../elements/types';
declare function makeTool(app: App): {
    enabled: boolean;
    enable(): void;
    add(element: Element): void;
    remove(element: Element): void;
    getSelected(): Element[];
    clean(): void;
    close(): void;
};
export declare function createPlugin(): Plugin<Record<string, unknown>>;
declare module './tool' {
    interface Tools {
        select: ReturnType<typeof makeTool>;
    }
}
declare module '../types' {
    interface AppEmitterEvent {
        'element:select': any;
    }
}
export {};
