import { StreakrOptions } from '../types'; import { InternalState, ResolvedConfig } from './config'; export type UpdatePatch = Partial; export declare const createUpdateHandlers: (cfg: ResolvedConfig, state: InternalState, hooks: { onThemeChange: () => void; }) => { updateHandlers: { target: ({ target }: Pick, "target">) => void; theme: ({ theme }: Pick, "theme">) => void; accent: ({ accent }: Pick, "accent">) => void; tintHeatmap: ({ tintHeatmap }: Pick, "tintHeatmap">) => void; showProviders: ({ showProviders }: Pick, "showProviders">) => void; showStats: ({ showStats }: Pick, "showStats">) => void; state: ({ state: nextState }: Pick, "state">) => void; years: ({ years }: Pick, "years">) => void; year: ({ year }: Pick, "year">) => void; today: ({ today }: Pick, "today">) => void; getDays: ({ getDays }: Pick, "getDays">) => void; providers: ({ providers }: Pick, "providers">) => void; onYearChange: ({ onYearChange }: Pick, "onYearChange">) => void; onProviderToggle: ({ onProviderToggle }: Pick, "onProviderToggle">) => void; }; isUpdateKey: (key: string) => key is "target" | "theme" | "accent" | "tintHeatmap" | "showProviders" | "showStats" | "state" | "years" | "year" | "today" | "getDays" | "providers" | "onYearChange" | "onProviderToggle"; }; //# sourceMappingURL=update.d.ts.map