import { LitElement } from 'lit';
/**
* @element ui-click-outside
* @description Detects clicks outside the element and triggers a callback
* Useful for closing dropdowns, modals, and popovers
*
* @slot - Content to detect outside clicks for
*
* @fires click-outside - Fired when a click occurs outside the element
*
* @example
* ```html
*
* Dropdown content
*
* ```
*/
export declare class UIClickOutside extends LitElement {
static styles: import("lit").CSSResult;
/**
* Whether click outside detection is active
*/
active: boolean;
/**
* Whether to include clicks on the shadow DOM boundary
*/
includeShadow: boolean;
private _boundHandleClick;
connectedCallback(): void;
disconnectedCallback(): void;
updated(changedProperties: Map): void;
private _attachListener;
private _detachListener;
private _handleClick;
render(): import("lit-html").TemplateResult<1>;
}
declare global {
interface HTMLElementTagNameMap {
'ui-click-outside': UIClickOutside;
}
}
//# sourceMappingURL=click-outside.d.ts.map