import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js"; import { ComponentSize } from "../../../constants/size.js"; import "../../../utils/index.js"; import { Option } from "./types.js"; import { _default } from "./segmented.vue.js"; import * as vue from "vue"; import { ExtractPublicPropTypes } from "vue"; //#region ../../packages/components/segmented/src/segmented.d.ts interface Props { label?: string; value?: string; disabled?: string; } declare const defaultProps: Required; interface SegmentedProps { direction?: 'vertical' | 'horizontal'; /** * @description options of segmented */ options?: Option[]; /** * @description binding value */ modelValue?: string | number | boolean; /** * @description configuration options, see the following table */ props?: Props; /** * @description fit width of parent content */ block?: boolean; /** * @description size of component */ size?: ComponentSize; /** * @description whether segmented is disabled */ disabled?: boolean; /** * @description whether to trigger form validation */ validateEvent?: boolean; /** * @description native input id */ id?: string; /** * @description native `name` attribute */ name?: string; /** * @description native `aria-label` attribute */ ariaLabel?: string; } /** * @deprecated Removed after 3.0.0, Use `SegmentedProps` instead. */ declare const segmentedProps: { ariaLabel: StringConstructor; direction: EpPropFinalized<(new (...args: any[]) => "horizontal" | "vertical") | (() => "horizontal" | "vertical") | (((new (...args: any[]) => "horizontal" | "vertical") | (() => "horizontal" | "vertical")) | null)[], unknown, unknown, string, boolean>; options: EpPropFinalized<(new (...args: any[]) => Option[]) | (() => Option[]) | (((new (...args: any[]) => Option[]) | (() => Option[])) | null)[], unknown, unknown, () => never[], boolean>; modelValue: EpPropFinalized<(BooleanConstructor | StringConstructor | NumberConstructor)[], unknown, unknown, undefined, boolean>; props: EpPropFinalized<(new (...args: any[]) => Props) | (() => Props) | (((new (...args: any[]) => Props) | (() => Props)) | null)[], unknown, unknown, () => Required, boolean>; block: BooleanConstructor; size: { readonly type: vue.PropType>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; disabled: EpPropFinalized; validateEvent: EpPropFinalized; id: StringConstructor; name: StringConstructor; }; /** * @deprecated Removed after 3.0.0, Use `SegmentedProps` instead. */ type SegmentedPropsPublic = ExtractPublicPropTypes; declare const segmentedEmits: { "update:modelValue": (val: any) => val is string | number | boolean; change: (val: any) => val is string | number | boolean; }; type SegmentedEmits = typeof segmentedEmits; type SegmentedInstance = InstanceType & unknown; //#endregion export { Props, SegmentedEmits, SegmentedInstance, SegmentedProps, SegmentedPropsPublic, defaultProps, segmentedEmits, segmentedProps };