import { SxProps } from '@mui/material';
import * as React from 'react';
import { ListItemButtonProps } from '../list/ListItemButton';
import { DividerProps } from '../divider';
export declare const collapsiblePanelCollapseDirections: readonly ["down", "up"];
type CollapsiblePanelCollapseDirection = (typeof collapsiblePanelCollapseDirections)[number];
export type CollapsiblePanelProps = React.PropsWithChildren<{
    sx?: SxProps;
    /**
     * Whether the panel is collapsed or not. If not supplied, the panel is not collapsed by default.
     */
    isCollapsed: boolean;
    /**
     * Called when toggle button is clicked.
     * If supplied `header` prop, this field will be ignored.
     */
    onToggle?: () => void;
    /**
     * The header to use for this collapsible panel.
     * Usually, it will be any clickable element like a ListItemButton, where you will have
     * to manage the click event and toggle the `isCollapsed` property properly.
     *
     * If supplied, the `headerText` and `onToggle` will be ignored.
     */
    header?: React.ReactNode;
    /**
     * The text to use in the header for this collapsible panel. Header is always visible.
     * It uses internally a ListItemButton element.
     * If supplied `header` prop, this field will be ignored.
     */
    headerText?: string;
    /**
     * Style properties to use for header when property 'header' is not provided.
     */
    headerBaseSx?: SxProps;
    /**
     * Whether the collapse will be placed down or up from the header.
     */
    collapseDirection?: CollapsiblePanelCollapseDirection;
    /**
     * Whether to add a Divider between header and panel or not. Default is false.
     */
    withDivider?: boolean;
    /**
     * Props for divider
     */
    dividerProps?: DividerProps;
    /**
     * Method to call when transition end
     */
    onEntered?: () => void;
}> & Pick<ListItemButtonProps, 'disabled'>;
declare const CollapsiblePanel: ({ sx, children, isCollapsed, onToggle, header, headerText, headerBaseSx, collapseDirection, disabled, withDivider, dividerProps, onEntered }: CollapsiblePanelProps) => import("react/jsx-runtime").JSX.Element;
export default CollapsiblePanel;
