export interface AccordionProps { /** * 项数组 */ items: { title: React.ReactNode; content: React.ReactNode; [key: string]: any; }[]; /** 展开的图标 */ expandIcon?: "arrow" | "plus"; /** 初始展开的项索引 */ initExpandIndex?: number; /** * 只有一项可展开 * @default true */ onlyOneOpen?: boolean; /** * 是否将所有项拼合在一起 * @default false */ join?: boolean; className?: string; slots?: { itemRoot?: string; itemTitle?: string; itemContent?: string; }; } export declare function Accordion(props: AccordionProps): import("react").JSX.Element;