/**
 * Detect clicks outside of an element
 * @param element - The element to watch
 * @param callback - Function to call when clicked outside
 * @returns Cleanup function to remove the listener
 */
export declare function clickOutside(element: HTMLElement, callback: (event: MouseEvent) => void): () => void;
/**
 * Directive-style click outside for use with Melodic templates
 */
export declare function createClickOutsideHandler(callback: (event: MouseEvent) => void): (element: HTMLElement) => () => void;
//# sourceMappingURL=click-outside.directive.d.ts.map