import { Optional } from '@ephox/katamari';
import { SugarElement } from '@ephox/sugar';
import { AlloyComponent } from '../api/component/ComponentApi';
import { ElementAndHandler, UidAndHandler } from '../events/EventRegistry';
export interface Registry {
    readonly find: (isAboveRoot: (elem: SugarElement<Node>) => boolean, type: string, target: SugarElement<Node>) => Optional<ElementAndHandler>;
    readonly filter: (type: string) => UidAndHandler[];
    readonly register: (component: AlloyComponent) => void;
    readonly unregister: (component: AlloyComponent) => void;
    readonly getById: (id: string) => Optional<AlloyComponent>;
}
export declare const Registry: () => Registry;
//# sourceMappingURL=Registry.d.ts.map