import React from 'react'; import { WidgetProps } from '../../types/widget'; import { CORE_VERSION, CoreWidgetName } from '@sunmao-ui/shared'; import { Static } from '@sinclair/typebox'; declare type PopoverWidgetHandler = { open: () => void; close: () => void; }; export declare type PopoverWidgetType = `${typeof CORE_VERSION}/${CoreWidgetName.Popover}`; declare const PopoverWidgetOption: import("@sinclair/typebox").TObject; appendToParent: import("@sinclair/typebox").TOptional; }>>; declare module '../../types/widget' { interface WidgetOptionsMap { 'core/v1/popover': Static; } } export declare const PopoverWidget: React.ForwardRefExoticComponent<(({} | { children?: React.ReactNode; }) & WidgetProps<"core/v1/popover", any>) & React.RefAttributes>; declare const _default: { kind: string; impl: React.ComponentType>; version: string; metadata: { name: string; }; spec?: { options?: import("json-schema").JSONSchema7 | undefined; } | undefined; }; export default _default;