import { type PropType, type Ref, type ExtractPropTypes, type Slots } from 'vue'; import type { MaybeArray, ExtractPublicPropTypes } from '../../_utils'; import type { OnItemHeaderClick, OnUpdateExpandedNames } from './interface'; export declare const collapseProps: { readonly defaultExpandedNames: { readonly type: PropType; readonly default: null; }; readonly expandedNames: PropType; readonly arrowPlacement: { readonly type: PropType<"left" | "right">; readonly default: "left"; }; readonly accordion: { readonly type: BooleanConstructor; readonly default: false; }; readonly displayDirective: { readonly type: PropType<"show" | "if">; readonly default: "if"; }; readonly triggerAreas: { readonly type: PropType<("extra" | "main" | "arrow")[]>; readonly default: () => string[]; }; readonly onItemHeaderClick: PropType>; readonly 'onUpdate:expandedNames': PropType>; readonly onUpdateExpandedNames: PropType>; readonly onExpandedNamesChange: { readonly type: PropType | undefined>; readonly validator: () => boolean; readonly default: undefined; }; readonly theme: PropType>; readonly themeOverrides: PropType>>; readonly builtinThemeOverrides: PropType>>; }; export type CollapseProps = ExtractPublicPropTypes; export interface NCollapseInjection { props: ExtractPropTypes; expandedNamesRef: Ref | null>; mergedClsPrefixRef: Ref; slots: Slots; toggleItem: (collapse: boolean, name: string | number, event: MouseEvent) => void; } export declare const collapseInjectionKey: import("vue").InjectionKey; declare const _default: import("vue").DefineComponent<{ readonly defaultExpandedNames: { readonly type: PropType; readonly default: null; }; readonly expandedNames: PropType; readonly arrowPlacement: { readonly type: PropType<"left" | "right">; readonly default: "left"; }; readonly accordion: { readonly type: BooleanConstructor; readonly default: false; }; readonly displayDirective: { readonly type: PropType<"show" | "if">; readonly default: "if"; }; readonly triggerAreas: { readonly type: PropType<("extra" | "main" | "arrow")[]>; readonly default: () => string[]; }; readonly onItemHeaderClick: PropType>; readonly 'onUpdate:expandedNames': PropType>; readonly onUpdateExpandedNames: PropType>; readonly onExpandedNamesChange: { readonly type: PropType | undefined>; readonly validator: () => boolean; readonly default: undefined; }; readonly theme: PropType>; readonly themeOverrides: PropType>>; readonly builtinThemeOverrides: PropType>>; }, { rtlEnabled: Ref | undefined; mergedTheme: import("vue").ComputedRef<{ common: { baseColor: string; primaryColor: string; primaryColorHover: string; primaryColorPressed: string; primaryColorSuppl: string; infoColor: string; infoColorHover: string; infoColorPressed: string; infoColorSuppl: string; successColor: string; successColorHover: string; successColorPressed: string; successColorSuppl: string; warningColor: string; warningColorHover: string; warningColorPressed: string; warningColorSuppl: string; errorColor: string; errorColorHover: string; errorColorPressed: string; errorColorSuppl: string; textColorBase: string; textColor1: string; textColor2: string; textColor3: string; textColorDisabled: string; placeholderColor: string; placeholderColorDisabled: string; iconColor: string; iconColorHover: string; iconColorPressed: string; iconColorDisabled: string; opacity1: string; opacity2: string; opacity3: string; opacity4: string; opacity5: string; dividerColor: string; borderColor: string; closeIconColor: string; closeIconColorHover: string; closeIconColorPressed: string; closeColorHover: string; closeColorPressed: string; clearColor: string; clearColorHover: string; clearColorPressed: string; scrollbarColor: string; scrollbarColorHover: string; scrollbarWidth: string; scrollbarHeight: string; scrollbarBorderRadius: string; progressRailColor: string; railColor: string; popoverColor: string; tableColor: string; cardColor: string; modalColor: string; bodyColor: string; tagColor: string; avatarColor: string; invertedColor: string; inputColor: string; codeColor: string; tabColor: string; actionColor: string; tableHeaderColor: string; hoverColor: string; tableColorHover: string; tableColorStriped: string; pressedColor: string; opacityDisabled: string; inputColorDisabled: string; buttonColor2: string; buttonColor2Hover: string; buttonColor2Pressed: string; boxShadow1: string; boxShadow2: string; boxShadow3: string; fontFamily: string; fontFamilyMono: string; fontWeight: string; fontWeightStrong: string; cubicBezierEaseInOut: string; cubicBezierEaseOut: string; cubicBezierEaseIn: string; borderRadius: string; borderRadiusSmall: string; fontSize: string; fontSizeMini: string; fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; lineHeight: string; heightMini: string; heightTiny: string; heightSmall: string; heightMedium: string; heightLarge: string; heightHuge: string; name: "common"; }; self: { titleFontSize: string; titleFontWeight: string; dividerColor: string; titleTextColor: string; titleTextColorDisabled: string; fontSize: string; textColor: string; arrowColor: string; arrowColorDisabled: string; itemMargin: string; titlePadding: string; }; peers: any; peerOverrides: { [x: string]: any; }; }>; mergedClsPrefix: Ref; cssVars: import("vue").ComputedRef<{ '--n-font-size': string; '--n-bezier': string; '--n-text-color': string; '--n-divider-color': string; '--n-title-padding': string; '--n-title-font-size': string; '--n-title-text-color': string; '--n-title-text-color-disabled': string; '--n-title-font-weight': string; '--n-arrow-color': string; '--n-arrow-color-disabled': string; '--n-item-margin': string; }> | undefined; themeClass: Ref | undefined; onRender: (() => void) | undefined; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; readonly default: null; }; readonly expandedNames: PropType; readonly arrowPlacement: { readonly type: PropType<"left" | "right">; readonly default: "left"; }; readonly accordion: { readonly type: BooleanConstructor; readonly default: false; }; readonly displayDirective: { readonly type: PropType<"show" | "if">; readonly default: "if"; }; readonly triggerAreas: { readonly type: PropType<("extra" | "main" | "arrow")[]>; readonly default: () => string[]; }; readonly onItemHeaderClick: PropType>; readonly 'onUpdate:expandedNames': PropType>; readonly onUpdateExpandedNames: PropType>; readonly onExpandedNamesChange: { readonly type: PropType | undefined>; readonly validator: () => boolean; readonly default: undefined; }; readonly theme: PropType>; readonly themeOverrides: PropType>>; readonly builtinThemeOverrides: PropType>>; }>>, { readonly displayDirective: "show" | "if"; readonly defaultExpandedNames: string | number | (string | number)[] | null; readonly arrowPlacement: "left" | "right"; readonly accordion: boolean; readonly triggerAreas: ("extra" | "main" | "arrow")[]; readonly onExpandedNamesChange: MaybeArray | undefined; }, {}>; export default _default;