import { SavedObjectsClientContract } from '../saved_objects/types' ; import { UiSettingsParams , UserProvidedValues , PublicUiSettingsParams } from '../../types' ; export type { UiSettingsParams , PublicUiSettingsParams , DeprecationSettings , UiSettingsType , UserProvidedValues , } from '../../types' ; public export interface IUiSettingsClient { /**
     * Returns registered uiSettings values  UiSettingsParams getRegistered : ( ) => Readonly < Record < string , PublicUiSettingsParams > > ; /**
     * Retrieves uiSettings values set by the user with fallbacks to default values if not specified.
     */ get : < T = any > ( key : string ) => Promise < T > ; /**
     * Retrieves a set of all uiSettings values set by the user with fallbacks to default values if not specified.
     */ getAll : < T = any > ( ) => Promise < Record < string , T > > ; /**
     * Retrieves a set of all uiSettings values set by the user.
     */ getUserProvided : < T = any > ( ) => Promise < Record < string , UserProvidedValues < T > > > ; /**
     * Writes multiple uiSettings values and marks them as set by the user.
     */ setMany : ( changes : Record < string , any > ) => Promise < void > ; /**
     * Writes uiSettings value and marks it as set by the user.
     */ set : ( key : string , value : any ) => Promise < void > ; /**
     * Removes uiSettings value by key.
     */ remove : ( key : string ) => Promise < void > ; /**
     * Removes multiple uiSettings values by keys.
     */ removeMany : ( keys : string [ ] ) => Promise < void > ; /**
     * Shows whether the uiSettings value set by the user.
     */ isOverridden : ( key : string ) => boolean ; /**
     * Shows whether the uiSetting is a sensitive value. Used by telemetry to not send sensitive values.
     */ isSensitive : ( key : string ) => boolean ; } internal export interface InternalUiSettingsServicePreboot { /**
     * Creates a  IUiSettingsClient that returns default values for the Core uiSettings.
      createDefaultsClient ( ) : IUiSettingsClient ; } internal export interface InternalUiSettingsServiceSetup { param settings register ( settings ) : void ; } public export interface UiSettingsServiceSetup { param settings example register ( settings ) : void ; } public export interface UiSettingsServiceStart { /**
     * Creates a  IUiSettingsClient with provided *scoped* saved objects client.
     *
     * This should only be used in the specific case where the client needs to be accessed
     * from outside of the scope of a  RequestHandler .
     *
     *  example asScopedToClient ( savedObjectsClient ) : IUiSettingsClient ; } internal export type InternalUiSettingsServiceStart = UiSettingsServiceStart ;