import React from 'react'; import { CORE_VERSION, StyleWidgetName } from '@sunmao-ui/shared'; import { WidgetProps } from '../../../types/widget'; declare type SpaceItemProps = { direction: string; colStart: number; rowStart: number; value: string; type: string; onChange: (v: string | number | undefined, ...args: any[]) => void; }; export declare const SpaceItem: React.FC; declare type SpaceWidgetType = `${typeof CORE_VERSION}/${StyleWidgetName.Space}`; declare module '../../../types/widget' { interface WidgetOptionsMap { 'core/v1/space': {}; } } export declare const SpaceWidget: 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;