import type { StashColorNames, StashColorNamesWithShades } from '@leaflink/stash-types/colors'; import type { IconName } from './_internal/components/Icon/Icon.types'; export type SelectStatusOption = { id: number | string | boolean; name: string; color?: StashColorNamesWithShades | StashColorNames | 'white' | 'black'; icon?: IconName; }; export interface SelectStatusProps { /** * Disables the component, if true */ disabled?: boolean; /** * Which key of the prop option to use for display */ displayBy?: string; /** * Sets the background color of the component to the color of the selected option */ secondary?: boolean; /** * Allows option text to wrap to next line when set to true */ noTruncate?: boolean; /** * Placeholder text */ placeholder?: string; /** * The list of all options to select the status from * each object must have the following structure: { id: number | string, name: string, color?: string } */ statusOptions: Array; /** * Default field to track the selected status by */ trackBy?: string; /** * Sets the currently-selected option for the component */ modelValue: number | string | boolean; /** * @deprecated Use `:model-value` or `v-model` instead of `:value`. */ value?: number | string | boolean | null; /** * Shows a label above the select */ label?: string; } declare const __VLS_export: import("vue").DefineComponent any; }, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:model-value"?: ((value: unknown) => any) | undefined; }>, { label: string; secondary: boolean; disabled: boolean; value: number | string | boolean | null; placeholder: string; trackBy: string; displayBy: string; noTruncate: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: typeof __VLS_export; export default _default;