import { ComponentProps, FC, ReactElement } from 'react'; import { DeepPartial, IBoolean, RoundedSizesTypes } from '../../types/types'; import { SidebarItemProps } from './SidebarItem'; export interface SidebarCollapseTheme { button: string; icon: { base: string; open: IBoolean; }; rounded: RoundedSizesTypes; label: { base: string; icon: { base: string; open: IBoolean; }; }; list: string; } type PropsFromItem = "active" | "rounded" | "as" | "href" | "icon" | "badge" | "labelColor"; export interface SidebarCollapseProps extends Pick, ComponentProps<"button"> { onClick?: ComponentProps<"button">["onClick"]; defaultOpen?: boolean; chevronIcon?: FC>; renderChevronIcon?: (theme: SidebarCollapseTheme, open: boolean) => ReactElement; theme?: DeepPartial; hasMotion?: boolean; } export declare const SidebarCollapse: FC; export {}; //# sourceMappingURL=SidebarCollapse.d.ts.map