/*! * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ import { SandDance } from '@msrvida/sanddance-react'; export interface RolePrefs { [columnName: string]: Partial; } export interface SpecTypePrefs { [role: string]: RolePrefs; } export interface Prefs { [chart: string]: SpecTypePrefs; } export declare function initPrefs(prefs: Prefs, partialInsight: Partial): void; export declare function saveSignalValuePref(prefs: Prefs, chart: SandDance.specs.Chart, role: string, column: string, signalName: string, signalValue: string): void; export declare function copyPrefToNewState(prefs: Prefs, chart: SandDance.specs.Chart, role: string, columnName: string): Partial; export declare function savePref(prefs: Prefs, chart: SandDance.specs.Chart, role: string, column: string, partialInsight: Partial): Partial;