import './overrides'; import { PluginManifest } from '@openshift/dynamic-plugin-sdk'; import { ScalprumProviderConfigurableProps } from '@scalprum/react-core'; import React from 'react'; import { AppsConfig } from '@scalprum/core'; type SharedScope = Record Promise; from: string; eager: boolean; }>>; declare global { var __webpack_share_scopes__: SharedScope; } export declare function mockWebpackShareScope(): void; export declare function mockFetch(): void; export declare function mockScalprum(): void; type ModuleMock = { [importName: string]: React.ComponentType; }; export declare const DEFAULT_MODULE_TEST_ID = "default-module-test-id"; export declare function mockPluginData({ headers, url, type, ok, status, statusText, pluginManifest, module, moduleMock, config, }?: { headers?: Headers; url?: string; type?: ResponseType; ok?: boolean; status?: number; statusText?: string; pluginManifest?: PluginManifest; module?: string; moduleMock?: ModuleMock; config?: AppsConfig; }, api?: ScalprumProviderConfigurableProps['api']): { response: Response; TestScalprumProvider: React.FunctionComponent<{ children?: React.ReactNode | undefined; }>; }; export {};