import { ComputedRef } from 'vue';
export type CollapsibleOptions = {
    /**
     * @desc 初始化展开的节点
     * @descEN default expanded keys
     */
    defaultExpandedKeys?: string[];
    /**
     * @desc 当前展开的节点
     * @descEN current expanded keys
     */
    expandedKeys?: string[];
    /**
     * @desc 展开节点变化回调
     * @descEN callback when expanded keys change
     */
    onExpand?: (expandedKeys: string[]) => void;
};
type UseCollapsible = boolean | CollapsibleOptions;
export default function useCollapsible(collapsible: ComputedRef<UseCollapsible | undefined>, rootPrefixCls?: ComputedRef<string | undefined>): {
    enableCollapse: ComputedRef<boolean>;
    expandedKeys: ComputedRef<string[]>;
    onItemExpand: ComputedRef<((curKey: string) => string[]) | undefined>;
    collapseTransition: ComputedRef<import('vue').TransitionProps | undefined>;
};
export {};
