import type { VNode } from 'vue'; import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/prose/code-collapse'; import type { IconComponent } from '../../types'; import type { ComponentConfig } from '../../types/tv'; type ProseCodeCollapse = ComponentConfig; export interface ProseCodeCollapseProps { /** * The icon displayed to toggle the code. * @defaultValue ui.icons.chevronDown */ icon?: IconComponent; /** * The name displayed in the trigger label. * @defaultValue t('prose.codeCollapse.name') */ name?: string; /** * The text displayed when the code is collapsed. * @defaultValue t('prose.codeCollapse.openText') */ openText?: string; /** * The text displayed when the code is expanded. * @defaultValue t('prose.codeCollapse.closeText') */ closeText?: string; class?: any; b24ui?: ProseCodeCollapse['slots']; } export interface ProseCodeCollapseSlots { default(props?: {}): VNode[]; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: __VLS_WithSlots any; }, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProseCodeCollapseSlots>; type __VLS_WithSlots = T & { new (): { $slots: S; }; };