import { ScheduledDayTimeObjectType } from "../UserPreferenceTypes"; import { StandardCallback } from "../../../../types"; import { StoreModel } from "../../../../clients/StoreModel"; declare let UserPreferencesStore: StoreModel; declare let WorkspaceManagementMenuStore: StoreModel; declare const Actions: { initialize: () => void; getWorkspaces(cb?: Function): void; /** * By making the value of `finsemble.scheduledRestart` falsy, the application will remove any existing restart timers. * @deprecated use `setScheduledRestart(false)` instead. */ disableScheduledRestart: () => void; /** * Finsemble listens for this piece of config. When it changes, it will schedule a daily restart at that time. * By making the value of `finsemble.scheduledRestart` falsy, the application will remove any existing restart timers. * @deprecated use setScheduledClose */ setScheduledRestart: (val: ScheduledDayTimeObjectType | false) => void; /** * Finsemble listens the config set by this function. When it changes, it will schedule a daily restart/shutdown at * that time. By making the value falsy, the application will remove any existing restart/shutdown timers. * */ setScheduledClose: (key: "finsemble.scheduledRestart" | "finsemble.scheduledShutdown", value: ScheduledDayTimeObjectType | false) => void; /** * Allows download settings to persist after restart. * Saves an object containing the chosen location and a list of the last * three (or less) chosen locations to show in the dropdown */ setDownloads: (key: "finsemble.downloads", value: string) => void; setDiscardUnsavedChangesPreference: (value: boolean) => void; getPreferences: (callback: StandardCallback) => void; }; /** * Initializes the store for the User Preferences Menu. */ declare function initialize(WorkspaceMngMenuStore: StoreModel, cb: (store: StoreModel) => void): void; export { WorkspaceManagementMenuStore, initialize, UserPreferencesStore, Actions }; //# sourceMappingURL=UserPreferencesStore.d.ts.map