import { PluginInitializer } from 'src/core/server' ; import { GlobalSearchPlugin , GlobalSearchPluginSetupDeps , GlobalSearchPluginStartDeps , } from './plugin' ; import { GlobalSearchPluginSetup , GlobalSearchPluginStart } from './types' ; export const plugin = ( context ) => new GlobalSearchPlugin ( context ) ; export { config } from './config' ; export type { GlobalSearchBatchedResults , GlobalSearchProviderFindOptions , GlobalSearchProviderResult , GlobalSearchProviderResultUrl , GlobalSearchResult , } from '../common/types' ; export type { GlobalSearchFindOptions , GlobalSearchProviderContext , GlobalSearchPluginStart , GlobalSearchPluginSetup , GlobalSearchResultProvider , RouteHandlerGlobalSearchContext , } from './types' ;