import { ExtractPropTypes } from 'vue'; import { ISharedRenderlessFunctionParams } from '../../../shared.type'; export type { ISharedRenderlessParamHooks, ISharedRenderlessParamUtils } from '../../../shared.type'; export declare const tagProps: { hit: BooleanConstructor; text: StringConstructor; type: StringConstructor; theme: StringConstructor; size: StringConstructor; color: StringConstructor; closable: BooleanConstructor; operable: BooleanConstructor; disabled: BooleanConstructor; selectable: BooleanConstructor; customClass: { type: StringConstructor; default: string; }; effect: { type: StringConstructor; default: string; validator: (value: string) => boolean; }; beforeDelete: FunctionConstructor; value: (NumberConstructor | StringConstructor)[]; mini: { type: BooleanConstructor; default: boolean; }; maxWidth: { type: (NumberConstructor | StringConstructor)[]; default: null; }; }; export interface ITagState { type: string | undefined; show: boolean; selected: boolean; text: string; color: string; mini: boolean; maxWidth: string | number; } export interface ITagApi { state: ITagState; handleClose: (event: Event) => void; handleClick: (event: Event) => void; } export type ITagProps = ExtractPropTypes; export type ITagRenderlessParams = ISharedRenderlessFunctionParams & { state: ITagState; props: ITagProps; api: ITagApi; };