import { default as CxButton } from '../../../../../atoms/src/components/button/button.ts';
import { default as CxCheckbox } from '../../../../../atoms/src/components/checkbox/checkbox.ts';
import { default as CxDetails } from '../../../../../atoms/src/components/details/details.ts';
import { default as CxIcon } from '../../../../../atoms/src/components/icon/icon.ts';
import { default as CxSpace } from '../../../../../atoms/src/components/space/space.ts';
import { default as CxTooltip } from '../../../../../atoms/src/components/tooltip/tooltip.ts';
import { default as CxTypography } from '../../../../../atoms/src/components/typography/typography.ts';
import { default as CortexElement } from '../../../../../base/src/cortex-element.ts';
import { CSSResultGroup, TemplateResult } from 'lit';

export type CxAssetLinkFormatMetadataChangeEvent = CustomEvent<boolean>;
declare global {
    interface GlobalEventHandlersEventMap {
        'cx-asset-link-format-metadata-change': CxAssetLinkFormatMetadataChangeEvent;
    }
}
/**
 * @summary The `cx-asset-link-format-metadata` component is used to preserve metadata when formatting an asset link.
 *
 * @event `cx-asset-link-format-metadata-change` - Emitted when the metadata preservation option is changed.
 */
export default class CxAssetLinkFormatMetadata extends CortexElement {
    static readonly styles: CSSResultGroup;
    static readonly dependencies: {
        'cx-button': typeof CxButton;
        'cx-checkbox': typeof CxCheckbox;
        'cx-details': typeof CxDetails;
        'cx-icon': typeof CxIcon;
        'cx-space': typeof CxSpace;
        'cx-tooltip': typeof CxTooltip;
        'cx-typography': typeof CxTypography;
    };
    private readonly localize;
    /**
     * The base element for the details section.
     * This is used to control the visibility of the details section and to handle events related to showing and hiding the details.
     */
    base: CxDetails;
    /**
     * The open state of the details section.
     * @default false
     */
    open: boolean;
    /**
     * The value of the metadata preservation option.
     * This value indicates whether the metadata should be preserved when formatting the asset link.
     * @default false
     */
    value: boolean;
    private handleApply;
    /**
     * Handles showing the details section.
     * This method prevents the event from propagating if the target is not the base element, such as tooltips, select dropdowns, or other interactive elements inside the details.
     * This ensures that the details section is only shown when the user interacts with the base element.
     */
    private onShowDetails;
    /**
     * Handles hiding the details section.
     * This method prevents the event from propagating if the target is not the base element, such as tooltips, select dropdowns, or other interactive elements inside the details.
     * This ensures that the details section is only hidden when the user interacts with the base element.
     */
    private onHideDetails;
    render(): TemplateResult;
}
declare global {
    interface HTMLElementTagNameMap {
        'cx-asset-link-format-metadata': CxAssetLinkFormatMetadata;
    }
}
