export type ExpanderState = {
    expanded: boolean;
    toggle: () => void;
    setExpanded: (expanded: boolean) => void;
};
export declare function useExpanderState(initialExpanded?: boolean): ExpanderState;
export declare function shouldShowWhenExpanded({ expanded, hasContent, alwaysShow, }: {
    expanded: boolean;
    hasContent: boolean;
    alwaysShow?: boolean;
}): boolean;
export type ExpanderToggleProps = {
    expanded: boolean;
    onToggle?: () => void;
    size?: 16 | 24 | 32 | 40 | 48 | 56 | 72;
    className?: string;
    'data-testid'?: string;
};
export declare const ExpanderToggle: ({ expanded, onToggle, size, className, "data-testid": testId, }: ExpanderToggleProps) => import("react").JSX.Element;
//# sourceMappingURL=Expander.d.ts.map