import type { ComponentProps, FC, ReactElement } from "react"; import type { FlowbiteBoolean, ThemingProps } from "../../types"; import type { SidebarItemProps } from "./SidebarItem"; export interface SidebarCollapseTheme { button: string; icon: { base: string; open: FlowbiteBoolean; }; label: { base: string; title: string; icon: { base: string; open: FlowbiteBoolean; }; }; list: string; } export interface SidebarCollapseProps extends Pick, ComponentProps<"button">, ThemingProps { onClick?: ComponentProps<"button">["onClick"]; open?: boolean; chevronIcon?: FC>; renderChevronIcon?: (theme: SidebarCollapseTheme, open: boolean) => ReactElement; } export declare const SidebarCollapse: import("react").ForwardRefExoticComponent & import("react").RefAttributes>;