export default PseudoBackdrop; export type ToggleState = "open" | "closed"; export type CSSInfinity = "calc(infinity)"; export type AnimatesAttr = Extract; declare class PseudoBackdrop extends HTMLElement { /** * @type {WeakMap} Tracks the Root Nodes to which the {@link PseudoBackdrop} has attached * its `toggle` event listener. Each root points to the number of {@link PseudoBackdrop} instances registered with it. */ static #registeredRoots: WeakMap; /** * @param {ToggleEvent} event * @returns {void} */ static #handleDelegatedToggle(event: ToggleEvent): void; /** * The Event Handler used by the {@link PseudoBackdrop}'s `transitionrun` event when it is **_opened_**. * @param {TransitionEvent} event * @returns {void} */ static #handleTransitionrun(event: TransitionEvent): void; /** * Promotes the `pseudoPopover` (and the related `elevatedSibling`) associated with the provided {@link backdrop} * to a higher Stacking Context by applying a high `z-index` to the elements. * @param {PseudoBackdrop} backdrop * @returns {void} */ static #promote(backdrop: PseudoBackdrop): void; /** * The Event Handler used by the {@link PseudoBackdrop}'s `transitionend` and `transitioncancel` events when it is **_closed_**. * @param {TransitionEvent} event * @returns {void} */ static #handleTransitionCompletion(event: TransitionEvent): void; /** * Demotes the `pseudoPopover` (and the related `elevatedSibling`) associated with the provided {@link backdrop} * by terminating their Stacking Contexts (via `z-index` removal). * @param {PseudoBackdrop} backdrop * @returns {void} */ static #demote(backdrop: PseudoBackdrop): void; /** "On Mount" for Custom Elements @returns {void} */ connectedCallback(): void; /** "On Unmount" for Custom Elements @returns {void} */ disconnectedCallback(): void; /** @param {AnimatesAttr | null | undefined} value */ set animates(value: AnimatesAttr | null | undefined); /** * Tells the {@link PseudoBackdrop} how it should **_expect_** to be animated. This setting is required * to ensure that the backdrop will always modify the `z-index`es of other elements at the right time. * * - `both` (default): The backdrop should expect to be animated in both directions. * - `forwards`: The backdrop should only expect to be animated while opening. * - `backwards`: The backdrop should only expect to be animated while closing. * - `none`: The backdrop should never expect to be animated. * @returns {AnimatesAttr} */ get animates(): AnimatesAttr; #private; } //# sourceMappingURL=PseudoBackdrop.d.ts.map