export declare class PostCollapsibleTrigger { private trigger?; private observer; private root?; host: HTMLPostCollapsibleTriggerElement; /** * Link the trigger to a post-collapsible with this id */ for: string; /** * Set the "aria-controls" and "aria-expanded" attributes on the trigger to match the state of the controlled post-collapsible */ setAriaAttributes(): void; /** * Initiate a mutation observer that updates the trigger whenever necessary */ connectedCallback(): void; /** * Attach a "postToggle" event listener to the root node * to update the trigger's "aria-expanded" attribute whenever the controlled post-collapsible is toggled */ componentWillLoad(): void; /** * Add the "data-version" to the host element and set the trigger */ componentDidLoad(): void; /** * Disconnect the mutation observer */ disconnectedCallback(): void; /** * Update the "aria-controls" and "aria-expanded" attributes on the trigger button */ update(): Promise; private debouncedUpdate; /** * Toggle the post-collapsible controlled by the trigger */ private toggleCollapsible; /** * Retrieve the post-collapsible controlled by the trigger */ private get collapsible(); /** * Find the button and add the proper event listener and ARIA attributes to it */ private setTrigger; }