export declare class Settings { readonly name: string; readonly props: T; private _onChange?; constructor(props: T, name?: string); getProps(): T; setProps(props: Partial): this; getProp(key: K): T[K]; setProp(key: K, value: T[K]): this; onChange(callback: (props: Partial) => void): this; }