import type { PluginConfigDescriptor } from 'src/core/server' ; import { ConfigSchema , ConfigType } from './schema' ; /**
 * Screenshotting plugin configuration schema.
 */ export const config = { schema : ConfigSchema , deprecations : ( { renameFromRoot } ) => [ renameFromRoot ( 'xpack.reporting.capture.networkPolicy' , 'xpack.screenshotting.networkPolicy' ) , renameFromRoot ( 'xpack.reporting.capture.browser.autoDownload' , 'xpack.screenshotting.browser.autoDownload' ) , renameFromRoot ( 'xpack.reporting.capture.browser.chromium.inspect' , 'xpack.screenshotting.browser.chromium.inspect' ) , renameFromRoot ( 'xpack.reporting.capture.browser.chromium.disableSandbox' , 'xpack.screenshotting.browser.chromium.disableSandbox' ) , renameFromRoot ( 'xpack.reporting.capture.browser.chromium.proxy.enabled' , 'xpack.screenshotting.browser.chromium.proxy.enabled' ) , renameFromRoot ( 'xpack.reporting.capture.browser.chromium.proxy.server' , 'xpack.screenshotting.browser.chromium.proxy.server' ) , renameFromRoot ( 'xpack.reporting.capture.browser.chromium.proxy.bypass' , 'xpack.screenshotting.browser.chromium.proxy.bypass' ) , ] , exposeToUsage : { networkPolicy : false , } , } ; export { createConfig } from './create_config' ; export type { ConfigType } from './schema' ;