import * as React from 'react'; import { GetClasses } from '../../typeUtils'; export declare const ExpansionPanelStylesKey = "ChromaExpansionPanel"; export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"button" | "header" | "title" | "root" | "content" | "rotate" | "directionRow" | "rootOpen" | "headerShadow" | "titleContainer" | "truncate" | "leadingIcon" | "iconButton" | "inner" | "innerHidden">; export declare type ExpansionPanelClasses = GetClasses; export interface ExpansionPanelProps extends React.DetailedHTMLProps, HTMLDivElement> { ref?: React.Ref; ariaOwnsId?: string; children?: React.ReactNode; contentClassName?: string; innerContentClassName?: string; leadingIconClassName?: string; title: string; leadingIcon?: React.MemoExoticComponent<(props: React.SVGProps) => JSX.Element>; secondaryHeaderClassName?: string; secondaryHeader?: React.ReactNode; truncateTitle?: boolean; onToggle?: (isExpanded: boolean) => void; isOpen?: boolean; contentDirection?: 'row' | 'column'; } /** * Panel component for expanding/collapsing content. * * ### Accessibility * * - The click target is a `button` element. * - Pressing `Tab` will set focus to the element * - Pressing `Space` or `Enter` triggers the click action. * - It leverages `aria-expanded` on the root button element. * - It leverages `aria-owns` to define the expanded content. * - It leverages `aria-hidden` on the content that expands/collapses. * * ### Links * * - [Component Source](https://github.com/lifeomic/chroma-react/blob/master/src/components/ExpansionPanel/ExpansionPanel.tsx) * - [Story Source](https://github.com/lifeomic/chroma-react/blob/master/stories/components/ExpansionPanel/ExpansionPanel.stories.tsx) */ export declare const ExpansionPanel: React.ForwardRefExoticComponent & React.RefAttributes>; export default ExpansionPanel;