import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/dashboard-search-button'; import type { ButtonProps, ButtonSlots, IconComponent, KbdProps, TooltipProps, LinkPropsKeys } from '../types'; import type { ComponentConfig } from '../types/tv'; type DashboardSearchButton = ComponentConfig; export interface DashboardSearchButtonProps extends Omit { /** * The icon displayed in the button. * @defaultValue icons.search * @IconComponent */ icon?: IconComponent; /** * The label displayed in the button. * @defaultValue t('dashboardSearchButton.label') */ label?: string; /** * The color of the button. * @defaultValue 'air-tertiary-no-accent' */ color?: ButtonProps['color']; /** * Whether the button is collapsed. * @defaultValue false */ collapsed?: boolean; /** * Display a tooltip on the button when is collapsed with the button label. * This has priority over the global `tooltip` prop. */ tooltip?: boolean | TooltipProps; /** * The keyboard keys to display in the button. * `{ accent: 'default' }`{lang="ts-type"} * @defaultValue ['meta', 'k'] */ kbds?: KbdProps['value'][] | KbdProps[]; b24ui?: DashboardSearchButton['slots'] & ButtonProps['b24ui']; class?: any; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: __VLS_WithSlots & Readonly<{}>, { color: "link" | "air-primary" | "air-primary-success" | "air-primary-alert" | "air-primary-copilot" | "air-secondary" | "air-secondary-alert" | "air-secondary-accent" | "air-secondary-accent-1" | "air-secondary-accent-2" | "air-tertiary" | "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "air-secondary-no-accent" | "air-tertiary-accent" | "air-tertiary-no-accent" | "air-selection" | "air-boost"; collapsed: boolean; tooltip: boolean | TooltipProps; kbds: KbdProps["value"][] | KbdProps[]; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>; type __VLS_WithSlots = T & { new (): { $slots: S; }; };