import React, { CSSProperties, ReactElement, ReactNode } from 'react';
import { PluginManifest } from '@/lib/usePluginManifest';
import { PluginLoadType } from './PluginLoadComponent';
interface Props {
    context: Record<any, any>;
    type: string;
    workspaceKey?: string;
    onRefreshContext?: () => void;
    pluginWrapperRender?: (originNode: ReactNode, frame: PluginManifest) => ReactNode;
    containerRender?: (originNode?: ReactNode) => ReactElement;
    allowLoadType?: PluginLoadType[];
    iframeStyle?: CSSProperties;
    spinStyle?: CSSProperties;
    spinWrapperClassName?: string;
}
export declare const PluginComponents: React.FC<Props>;
export {};
