import { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
import { TsExpansionPanelComponent, TsExpansionPanelDefaultOptions } from '../expansion-panel.component';
/**
* Trigger to open/close a {@link TsExpansionPanelComponent}
*
* @example
*
*
* Panel trigger
*
*
* Panel content
*
*
* https://getterminus.github.io/ui-demos-release/components/expansion-panel
*/
export declare class TsExpansionPanelTriggerComponent implements OnDestroy, FocusableOption {
panel: TsExpansionPanelComponent;
private elementRef;
private focusMonitor;
private changeDetectorRef;
/**
* Determine the current expanded state string of the panel
*/
get currentPanelExpandedState(): string;
/**
* Determine if the panel is currently expanded
*/
get isExpanded(): boolean;
/**
* Determine if current mode is transparent
*/
get isTransparent(): boolean;
/**
* Whether the associated panel is disabled.
*
* Implemented as a part of `FocusableOption`.
*/
get disabled(): boolean;
/** Gets whether the expand indicator should be shown. */
get shouldShowToggle(): boolean;
/**
* Height of the trigger while the panel is collapsed
*/
collapsedHeight: string | undefined;
/**
* Height of the trigger while the panel is expanded
*/
expandedHeight: string | undefined;
constructor(panel: TsExpansionPanelComponent, elementRef: ElementRef, focusMonitor: FocusMonitor, changeDetectorRef: ChangeDetectorRef, defaultOptions?: TsExpansionPanelDefaultOptions);
/**
* Stop monitoring focus events
*/
ngOnDestroy(): void;
/**
* Focuses the panel trigger.
*
* Implemented as a part of `FocusableOption`.
*
* @param origin - Origin of the action that triggered the focus.
*/
focus(origin?: FocusOrigin): void;
/**
* Toggle the expanded state of the panel
*/
toggle(): void;
/**
* Handle keydown event calling to toggle() if appropriate
*
* @param event
*/
keydown(event: KeyboardEvent): void;
}