import { MaybeRef } from '../utils'; import { ComputedRef, PropType } from 'vue'; export type TSize = typeof allowedSize[number]; export interface ISizeProps { size: TSize; } export interface IUseSize { sizeClasses: ComputedRef; } export declare const allowedSize: readonly ["xs", "sm", "md", "lg", "xl"]; export declare const makeSizeProps: (defaults?: Defaults | undefined) => import('../utils').AppendDefault<{ /** * Размер */ size: { type: PropType; default: string; available: readonly ["xs", "sm", "md", "lg", "xl"]; validator: (value: TSize) => boolean; }; }, Defaults>; export declare function useSize(props: MaybeRef, name: string): IUseSize;