import type { VNode } from 'vue'; import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/chip'; import type { IconComponent } from '../types'; import type { ComponentConfig } from '../types/tv'; type Chip = ComponentConfig; export interface ChipProps { /** * The element or component this component should render as. * @defaultValue 'div' */ as?: any; /** Display some text inside the chip. */ text?: string | number; /** * The icon displayed on the right side of the chip. * @IconComponent */ trailingIcon?: IconComponent; /** * @defaultValue 'danger' */ color?: Chip['variants']['color']; /** * If set to `true` the color is inverted. * Used for 'air-primary', 'air-primary-success', 'air-primary-alert', 'air-primary-copilot' and 'air-primary-warning' colors. * @defaultValue false */ inverted?: boolean; /** * @defaultValue 'sm' */ size?: Chip['variants']['size']; /** * The position of the chip. * @defaultValue 'top-right' */ position?: Chip['variants']['position']; /** * When `true`, keep the chip inside the component for rounded elements * @defaultValue false */ inset?: boolean; /** * When `true`, render the chip relatively to the parent. * @defaultValue false */ standalone?: boolean; /** * When `true`, hide chip if value='0' * @defaultValue false */ hideZero?: boolean; class?: any; b24ui?: Chip['slots']; } export interface ChipEmits { 'update:show': [value: boolean]; } export interface ChipSlots { default?(props?: {}): VNode[]; content?(props?: {}): VNode[]; trailing?(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:show"?: ((value: boolean) => any) | undefined; }>, { inverted: boolean; inset: boolean; standalone: boolean; hideZero: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChipSlots>; type __VLS_WithSlots = T & { new (): { $slots: S; }; };