import { ExtractPropTypes } from 'vue'; import { PropType } from '@opentiny/vue-common'; import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js'; declare const $constants: { RADIO_GROUP: string; }; declare const radioProps: { _constants: { type: ObjectConstructor; default: () => { RADIO_GROUP: string; }; }; modelValue: {}; label: {}; disabled: BooleanConstructor; name: StringConstructor; border: BooleanConstructor; size: { type: PropType<"medium" | "small" | "mini">; default: string; }; text: StringConstructor; events: { type: ObjectConstructor; default: () => {}; }; tabindex: { type: StringConstructor; default: string; }; displayOnly: { type: BooleanConstructor; default: boolean; }; tiny_mode: StringConstructor; tiny_mode_root: BooleanConstructor; tiny_template: (FunctionConstructor | ObjectConstructor)[]; tiny_renderless: FunctionConstructor; tiny_theme: StringConstructor; tiny_mcp_config: ObjectConstructor; tiny_chart_theme: ObjectConstructor; }; /** * Copyright (c) 2022 - present TinyVue Authors. * Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd. * * Use of this source code is governed by an MIT-style license. * * THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, * BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS. * */ declare const handleChange: ({ constants, dispatch, emit, state, nextTick }: Pick) => () => void; declare const isGroup: ({ constants, parent: $parent, state }: Pick) => () => boolean; declare const radioSize: ({ props, state }: Pick) => () => IRadioState['radioSize']; declare const isDisabled: ({ props, state }: Pick) => () => boolean; declare const isDisplayOnly: ({ props }: Pick) => () => boolean; declare const tabIndex: ({ props, state }: Pick) => () => number; declare const getModel: ({ props, state }: Pick) => () => IRadioState['model']; declare const setModel: ({ constants, dispatch, emit, props, vm, state }: Pick) => (val: IRadioState['model']) => void; type IRadioProps = ExtractPropTypes; type IRadioConstants = typeof $constants; interface IRadioState { vertical: boolean; size: IRadioProps['size']; focus: boolean; radioGroup: ISharedRenderlessParamUtils['parent'] | null; isGroup: boolean; radioSize: IRadioProps['size']; isDisabled: boolean; isDisplayOnly: boolean; tabIndex: number; formDisabled: boolean; model: string; } type IRadioRenderlessParams = ISharedRenderlessFunctionParams & { state: IRadioState; props: IRadioProps; type: string; api: IRadioApi; }; interface IRadioApi { state: IRadioState; handleChange: ReturnType; isGroup: ReturnType; radioSize: ReturnType; isDisabled: ReturnType; isDisplayOnly: ReturnType; tabIndex: ReturnType; getModel: ReturnType; setModel: ReturnType; } type IRadioRenderlessParamUtils = ISharedRenderlessParamUtils; export { IRadioApi, IRadioConstants, IRadioProps, IRadioRenderlessParamUtils, IRadioRenderlessParams, IRadioState };