import type { Ref, SetupContext } from 'vue'; import type { IIDProps } from '../attributes/useID.js'; export declare const CollapseProps: { horizontal: { type: BooleanConstructor; }; }; export interface ICollapseProps { horizontal?: boolean; } export interface ICollapseMethods { show: () => Promise; hide: () => Promise; toggle: () => Promise; } interface IProps extends ICollapseProps, IIDProps { } export declare function useCollapse

(props: P, context: SetupContext>, elementRef: Ref): { class: import("vue").ComputedRef<{ show: boolean; collapse: boolean; collapsing: boolean; 'collapse-horizontal': boolean | undefined; }>; style: import("vue").ComputedRef<{ [x: string]: string | undefined; }>; method: Record unknown> & ICollapseMethods; }; export {};