import type { Ref } from 'vue'; export declare function useOption(props: any, states: any): { select: import("./token").DshSelectContext | undefined; currentLabel: import("vue").ComputedRef; currentTip: import("vue").ComputedRef; currentValue: import("vue").ComputedRef; itemSelected: import("vue").ComputedRef; isDisabled: import("vue").ComputedRef; hoverItem: () => void; checkBoxRef: Ref<({ $: import("vue").ComponentInternalInstance; $data: {}; $props: Partial<{ modelValue: string | number | boolean; label: string | number | boolean | Record; id: string; disabled: boolean; name: string; validateEvent: boolean; border: boolean; indeterminate: boolean; checked: boolean; trueLabel: string | number; falseLabel: string | number; controls: string; }> & Omit>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; tabindex: (NumberConstructor | StringConstructor)[]; validateEvent: { type: BooleanConstructor; default: boolean; }; }>> & { onChange?: ((val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => any) | undefined; "onUpdate:modelValue"?: ((val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "label" | "id" | "disabled" | "name" | "validateEvent" | "border" | "indeterminate" | "checked" | "trueLabel" | "falseLabel" | "controls">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase> | null; $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase> | null; $emit: ((event: "change", val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => void) & ((event: "update:modelValue", val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => void); $el: any; $options: import("vue").ComponentOptionsBase>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; tabindex: (NumberConstructor | StringConstructor)[]; validateEvent: { type: BooleanConstructor; default: boolean; }; }>> & { onChange?: ((val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => any) | undefined; "onUpdate:modelValue"?: ((val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => any) | undefined; }, { props: Readonly>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; tabindex: (NumberConstructor | StringConstructor)[]; validateEvent: { type: BooleanConstructor; default: boolean; }; }>> & { onChange?: ((val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => any) | undefined; "onUpdate:modelValue"?: ((val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => any) | undefined; }>>; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; inputId: Ref; isLabeledByFormItem: import("vue").ComputedRef; isChecked: import("vue").ComputedRef; isDisabled: import("vue").ComputedRef; isFocused: Ref; checkboxSize: import("vue").ComputedRef<"" | "default" | "small" | "large">; hasOwnLabel: import("vue").ComputedRef; model: import("vue").WritableComputedRef; handleChange: (e: Event) => void; onClickRoot: (e: MouseEvent) => Promise; ns: { namespace: import("vue").ComputedRef; b: (blockSuffix?: string) => string; e: (element?: string | undefined) => string; m: (modifier?: string | undefined) => string; be: (blockSuffix?: string | undefined, element?: string | undefined) => string; em: (element?: string | undefined, modifier?: string | undefined) => string; bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string; bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string; is: { (name: string, state: boolean | undefined): string; (name: string): string; }; cssVar: (object: Record) => Record; cssVarName: (name: string) => string; cssVarBlock: (object: Record) => Record; cssVarBlockName: (name: string) => string; }; compKls: import("vue").ComputedRef; spanKls: import("vue").ComputedRef; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => boolean; change: (val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => boolean; }, string, { modelValue: string | number | boolean; label: string | number | boolean | Record; id: string; disabled: boolean; name: string; validateEvent: boolean; border: boolean; indeterminate: boolean; checked: boolean; trueLabel: string | number; falseLabel: string | number; controls: string; }> & { beforeCreate?: ((() => void) | (() => void)[]) | undefined; created?: ((() => void) | (() => void)[]) | undefined; beforeMount?: ((() => void) | (() => void)[]) | undefined; mounted?: ((() => void) | (() => void)[]) | undefined; beforeUpdate?: ((() => void) | (() => void)[]) | undefined; updated?: ((() => void) | (() => void)[]) | undefined; activated?: ((() => void) | (() => void)[]) | undefined; deactivated?: ((() => void) | (() => void)[]) | undefined; beforeDestroy?: ((() => void) | (() => void)[]) | undefined; beforeUnmount?: ((() => void) | (() => void)[]) | undefined; destroyed?: ((() => void) | (() => void)[]) | undefined; unmounted?: ((() => void) | (() => void)[]) | undefined; renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase> | null, info: string) => boolean | void)[]) | undefined; }; $forceUpdate: () => void; $nextTick: typeof import("vue").nextTick; $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions | undefined): import("vue").WatchStopHandle; } & Readonly>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; tabindex: (NumberConstructor | StringConstructor)[]; validateEvent: { type: BooleanConstructor; default: boolean; }; }>> & { onChange?: ((val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => any) | undefined; "onUpdate:modelValue"?: ((val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => any) | undefined; } & import("vue").ShallowUnwrapRef<{ props: Readonly>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; tabindex: (NumberConstructor | StringConstructor)[]; validateEvent: { type: BooleanConstructor; default: boolean; }; }>> & { onChange?: ((val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => any) | undefined; "onUpdate:modelValue"?: ((val: import("code-monkey-ui/es/components/checkbox").CheckboxValueType) => any) | undefined; }>>; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; inputId: Ref; isLabeledByFormItem: import("vue").ComputedRef; isChecked: import("vue").ComputedRef; isDisabled: import("vue").ComputedRef; isFocused: Ref; checkboxSize: import("vue").ComputedRef<"" | "default" | "small" | "large">; hasOwnLabel: import("vue").ComputedRef; model: import("vue").WritableComputedRef; handleChange: (e: Event) => void; onClickRoot: (e: MouseEvent) => Promise; ns: { namespace: import("vue").ComputedRef; b: (blockSuffix?: string) => string; e: (element?: string | undefined) => string; m: (modifier?: string | undefined) => string; be: (blockSuffix?: string | undefined, element?: string | undefined) => string; em: (element?: string | undefined, modifier?: string | undefined) => string; bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string; bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string; is: { (name: string, state: boolean | undefined): string; (name: string): string; }; cssVar: (object: Record) => Record; cssVarName: (name: string) => string; cssVarBlock: (object: Record) => Record; cssVarBlockName: (name: string) => string; }; compKls: import("vue").ComputedRef; spanKls: import("vue").ComputedRef; }> & {} & import("vue").ComponentCustomProperties) | null>; onlyThis: import("vue").ComputedRef; };