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