import { g as HandlerSpecifiersMap } from './directives-DK-Zzqy-.js';

type HandlerInitOptions = {
    partial: boolean;
    target?: Element;
};
type Handler = {
    /**
     * A unique namespace for the handler
     */
    namespace: string;
    /**
     * Called on initialisation of Elements, or on sync
     */
    initialise: (attributes: HandlerSpecifiersMap, options: HandlerInitOptions) => () => void;
};
type Handlers = Map<string, {
    handler: Handler;
    dispose?: ReturnType<Handler["initialise"]>;
}>;

export type { Handler as H, Handlers as a, HandlerInitOptions as b };
