import React from 'react'; import { CORE_VERSION, StyleWidgetName } from '@sunmao-ui/shared'; import { WidgetProps } from '../../../types/widget'; declare type Size = { width?: number | string; height?: number | string; }; declare type SizeWidgetType = `${typeof CORE_VERSION}/${StyleWidgetName.Size}`; declare module '../../../types/widget' { interface WidgetOptionsMap { 'core/v1/size': {}; } } export declare const SizeWidget: React.FC>; declare const _default: { kind: string; impl: React.ComponentType>; version: string; metadata: { name: string; }; spec?: { options?: import("json-schema").JSONSchema7 | undefined; } | undefined; }; export default _default;