import { IEventEmitter } from '@breadstone/mosaik-elements';
import { ISlottable } from '../../../Behaviors/Slottable';
import { IContentChangedEventDetail } from '../../../events';
import { CustomElement } from '../../Abstracts/CustomElement';
import { IContentElementProps } from './IContentElementProps';
declare const ContentElement_base: (abstract new (...args: Array<any>) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor;
/**
 * Content - A slot observer that detects and reports content presence changes.
 *
 * @description
 * The Content component is a lightweight wrapper that monitors its slotted content and automatically
 * updates the hasContent property based on whether content is present. It fires the contentChanged
 * event whenever content is added or removed, making it ideal for conditional rendering, placeholder
 * displays, and empty state handling. This element provides a declarative way to handle dynamic
 * content scenarios without manual JavaScript observers.
 *
 * @name Content
 * @element mosaik-content
 * @category Primitives
 *
 * @slot - The default content slot for any child content
 *
 * @fires contentChanged {ContentChangedEvent} - Fired when the content presence changes
 *
 * @example
 * Basic usage with conditional styling:
 * ```html
 * <mosaik-content id="myContent">
 *   <p>Some content here</p>
 * </mosaik-content>
 * <style>
 *   mosaik-content:not([has-content]) {
 *     display: none;
 *   }
 * </style>
 * ```
 *
 * @example
 * Listening to content changes:
 * ```html
 * <mosaik-content id="wrapper"></mosaik-content>
 * <script>
 *   const wrapper = document.querySelector('#wrapper');
 *   wrapper.addEventListener('contentChanged', (e) => {
 *     console.log('Has content:', e.detail.hasContent);
 *   });
 * </script>
 * ```
 *
 * @example
 * Dynamic content with placeholder:
 * ```html
 * <div class="container">
 *   <mosaik-content id="dynamicContent"></mosaik-content>
 *   <div class="placeholder" hidden>No content available</div>
 * </div>
 * <script>
 *   const content = document.querySelector('#dynamicContent');
 *   const placeholder = document.querySelector('.placeholder');
 *   content.addEventListener('contentChanged', (e) => {
 *     placeholder.hidden = e.detail.hasContent;
 *   });
 * </script>
 * ```
 *
 * @public
 */
export declare class ContentElement extends ContentElement_base implements IContentElementProps, ISlottable {
    private readonly _contentChanged;
    private _hasContent;
    /**
     * @public
     */
    constructor();
    /**
     * Returns the `{@link is}` property.
     * The `{@link is}` property represents natural name of this element.
     *
     * @public
     * @static
     * @readonly
     */
    static get is(): string;
    /**
     * Gets or sets the `hasContent` property.
     *
     * @public
     * @readonly
     * @attr
     */
    get hasContent(): boolean;
    private set hasContent(value);
    /**
     * Called when the content changes.
     * Provides reference to `{@link IEventDetail}` as event detail.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get contentChanged(): IEventEmitter<IContentChangedEventDetail>;
    /**
     * @public
     * @override
     */
    onSlotChanges(): void;
    /**
     * Emits the {@link contentChanged} event.
     *
     * @protected
     */
    protected onContentChanged(args: IContentChangedEventDetail): void;
}
/**
 * @public
 */
export declare namespace ContentElement {
    type Props = IContentElementProps;
}
/**
 * @public
 */
declare global {
    interface HTMLElementTagNameMap {
        'mosaik-content': ContentElement;
    }
}
export {};
//# sourceMappingURL=ContentElement.d.ts.map