import type { PluginConfigDescriptor , PluginInitializerContext } from 'src/core/server' ; import { ConfigSchema } from './config' ; import { EncryptedSavedObjectsPlugin } from './plugin' ; export type { EncryptedSavedObjectTypeRegistration , AttributeToEncrypt } from './crypto' ; export { EncryptionError , EncryptionErrorOperation } from './crypto' ; export type { EncryptedSavedObjectsPluginSetup , EncryptedSavedObjectsPluginStart } from './plugin' ; export type { EncryptedSavedObjectsClient , EncryptedSavedObjectsClientOptions , ClientInstanciator , } from './saved_objects' ; export type { IsMigrationNeededPredicate , CreateEncryptedSavedObjectsMigrationFn , CreateEncryptedSavedObjectsMigrationFnOpts , } from './create_migration' ; export const config = { schema : ConfigSchema , } ; export const plugin = ( initializerContext ) => new EncryptedSavedObjectsPlugin ( initializerContext ) ;