import type { UserPreferences } from "magicbell-js/user-client"; import { Client } from "magicbell-js/user-client"; type Props = { client: Client; }; type PreferencesContext = { error?: string; preferences: UserPreferences; snapshot: UserPreferences | null; changes: UserPreferences[]; }; export declare function createUserPreferencesMachine({ client }: Props): import("robot3").Machine<{ init: import("robot3").MachineState; fetch: import("robot3").MachineState; idle: import("robot3").MachineState<"error" | "UPDATE">; error: import("robot3").MachineState<"RETRY">; }, PreferencesContext, import("robot3").AllStateKeys<{ init: import("robot3").MachineState; fetch: import("robot3").MachineState; idle: import("robot3").MachineState<"error" | "UPDATE">; error: import("robot3").MachineState<"RETRY">; }>, string>; export {};