import { schema , TypeOf } from '@osd/config-schema' ; export const configSchema = schema . object ( { autocomplete : schema . object ( { querySuggestions : schema . object ( { enabled : schema . boolean ( { defaultValue : true } ) , } ) , valueSuggestions : schema . object ( { enabled : schema . boolean ( { defaultValue : true } ) , } ) , } ) , search : schema . object ( { aggs : schema . object ( { shardDelay : schema . object ( { enabled : schema . boolean ( { defaultValue : false } ) , } ) , } ) , } ) , } ) ; export type ConfigSchema = TypeOf < typeof configSchema > ;