import { default as React, HTMLAttributes } from 'react';
export interface CollapseClassNamesProp {
    root?: string;
    content?: string;
    title?: string;
    subtitle?: string;
    open?: string;
    closed?: string;
    toggleButton?: string;
}
export interface CollapseProps extends Omit<HTMLAttributes<HTMLButtonElement>, 'onToggle'> {
    title: string;
    subtitle?: string;
    isOpen?: boolean;
    onToggle?: (isNowOpen: boolean) => boolean | void;
    children: React.ReactNode;
    classNames?: CollapseClassNamesProp;
}
declare const Collapse: ({ title, subtitle, isOpen: externalIsOpen, onToggle, classNames, children, ...props }: CollapseProps) => import("react/jsx-runtime").JSX.Element;
export default Collapse;
//# sourceMappingURL=index.d.ts.map