import { CSSProperties, VNode } from 'vue'; import { ButtonProps } from '../button'; export interface Item { key?: string | number; disabled?: boolean; header?: string; headerStyle?: CSSProperties; content?: string; contentStyle?: CSSProperties; collapseStyle?: CSSProperties; arrow?: VNode | (() => VNode); showArrow?: boolean; arrowPlacement?: 'left' | 'right'; arrowStyle?: CSSProperties; extra?: string; lang?: string; copyable?: boolean; copyProps?: ButtonProps; copyText?: string; copiedText?: string; [propName: string]: any; } export type CollapseActiveKey = (string | number)[] | string | number | null; export interface Props { items?: Item[]; activeKey?: CollapseActiveKey; defaultActiveKey?: CollapseActiveKey; bordered?: boolean; disabled?: boolean; ghost?: boolean; headerStyle?: CSSProperties; contentStyle?: CSSProperties; collapseStyle?: CSSProperties; arrow?: VNode | (() => VNode); showArrow?: boolean; arrowPlacement?: 'left' | 'right'; arrowStyle?: CSSProperties; extra?: string; lang?: string; copyable?: boolean; copyProps?: ButtonProps; copyText?: string; copiedText?: string; } export interface CollapseSlots { arrow?: (props: { item: Item; key: string | number; active: boolean; }) => VNode[]; header?: (props: { item: Item; header: string | undefined; key: string | number; active: boolean; }) => VNode[]; extra?: (props: { item: Item; extra: any; key: string | number; active: boolean; }) => VNode[]; lang?: (props: { item: Item; lang: any; key: string | number; active: boolean; }) => VNode[]; content?: (props: { item: Item; content: string | undefined; key: string | number; active: boolean; }) => VNode[]; } declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly & CollapseSlots; refs: { contentRef: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent void; "update:activeKey": (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; "onUpdate:activeKey"?: ((...args: any[]) => any) | undefined; }>, { bordered: boolean; arrow: VNode | (() => VNode); disabled: boolean; contentStyle: CSSProperties; ghost: boolean; showArrow: boolean; extra: string; arrowStyle: CSSProperties; headerStyle: CSSProperties; collapseStyle: CSSProperties; arrowPlacement: "left" | "right"; lang: string; copyable: boolean; copyProps: ButtonProps; copyText: string; copiedText: string; items: Item[]; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { contentRef: HTMLDivElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };