import type { TypeOf } from '@kbn/config-schema' ; import { schema } from '@kbn/config-schema' ; export type ConfigType = TypeOf < typeof ConfigSchema > ; export const ConfigSchema = schema . object ( { enabled : schema . boolean ( { defaultValue : false } ) , token : schema . maybe ( schema . string ( ) ) , skipSetup : schema . boolean ( { defaultValue : false } ) , } ) ;