export type CollapseOptions = { /** * Duration of the expand/collapse animation in milliseconds. * @default 200 */ duration?: number; /** * Set the overflow state while animating. * @default "hidden" */ overflow?: 'hidden' | 'visible'; }; declare const useCollapse: (node: HTMLElement, { duration, overflow }?: CollapseOptions) => { collapse: () => Promise; expand: () => Promise; setCollapsed: () => void; setExpanded: () => void; }; export { useCollapse };