import type { PluginConfigDescriptor , PluginInitializerContext } from 'src/core/server' ; import { ConfigSchema } from './config' ; import { SpacesPlugin } from './plugin' ; export { addSpaceIdToPath } from '../common' ; export type { SpacesPluginSetup , SpacesPluginStart } from './plugin' ; export type { SpacesServiceSetup , SpacesServiceStart } from './spaces_service' ; export type { ISpacesClient , SpacesClientRepositoryFactory , SpacesClientWrapper , } from './spaces_client' ; export type { Space , GetAllSpacesOptions , GetAllSpacesPurpose , GetSpaceResult , LegacyUrlAliasTarget , } from '../common' ; export const config = { schema : ConfigSchema , } ; export const plugin = ( initializerContext ) => new SpacesPlugin ( initializerContext ) ;