import * as i0 from '@angular/core'; import { OnInit, OnChanges, EventEmitter, SimpleChanges } from '@angular/core'; import { BaseComponent } from '@fundamental-ngx/platform/shared'; import { ContentDensity, Nullable } from '@fundamental-ngx/cdk/utils'; import * as i4 from '@fundamental-ngx/core/content-density'; import { ContentDensityObserver } from '@fundamental-ngx/core/content-density'; import { PanelTitleDirective } from '@fundamental-ngx/core/panel'; declare class PanelActionsComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PanelContentComponent { /** * @harmful Potentially bad approach to hardcode css related properties * Custom height of the content container. */ contentHeight: string; /** Id of the host element. */ id: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Default options for platform panel */ declare class PanelConfig { /** * ARIA label for button when the Panel is collapsed */ expandLabel: string; /** * ARIA label for button when the Panel is expanded */ collapseLabel: string; /** * Content Density of element. 'cozy' | 'compact' */ contentDensity?: ContentDensity; /** @hidden */ constructor(); /** * Create Provider factory function */ static createProviderFactory(obj: Partial): () => PanelConfig; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** Panel change event instance */ declare class PanelExpandChangeEvent { source: PanelComponent; payload: boolean; /** * Panel expand change event * @param source Panel component * @param payload Panel expand state */ constructor(source: PanelComponent, payload: boolean); } /** * Fundamental Panel component * * ```html * * * Panel Content * * * ``` * * */ declare class PanelComponent extends BaseComponent implements OnInit, OnChanges { protected _panelConfig: PanelConfig; readonly contentDensityObserver: ContentDensityObserver; /** * sets Panel title. */ title: string; /** * Whether the Panel Content is expanded */ expanded: boolean; /** * Whether the Panel is expandable */ expandable: boolean; /** * ARIA label for button when the Panel is collapsed */ expandLabel: string; /** * ARIA label for button when the Panel is expanded */ collapseLabel: string; /** Output event triggered when the Expand button is clicked */ panelExpandChange: EventEmitter; /** @hidden */ _panelContentComponent: Nullable; /** @hidden */ _panelTitleDirective: Nullable; /** * @hidden * Button label based on the current state */ _expandAriaLabel: string; /** @hidden id of the title element */ _titleId: string; /** @hidden */ constructor(_panelConfig: PanelConfig, contentDensityObserver: ContentDensityObserver); /** @hidden */ ngOnInit(): void; /** @hidden */ ngOnChanges(changes: SimpleChanges): void; /** Handles expanded/collapsed event */ onExpandedChange(expanded: boolean): void; /** * @hidden * Calculate expandAriaLabel based on panel state */ private _calculateExpandAriaLabel; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @deprecated * Use direct imports of components and directives. */ declare class PlatformPanelModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { PanelActionsComponent, PanelComponent, PanelConfig, PanelContentComponent, PanelExpandChangeEvent, PlatformPanelModule };