/// <reference types="react" />
export declare const useAccordion: ({ withResizeObserver, defaultExpanded, }: {
    withResizeObserver?: boolean | undefined;
    defaultExpanded?: boolean | undefined;
}) => {
    ref: import("react").MutableRefObject<HTMLDivElement | null>;
    expand: () => void;
    collapse: () => void;
    height: number;
    width: number;
};
