export declare const setDb: (db: any[], origin?: 'user' | 'machine') => { type: string; db: any[]; origin: "user" | "machine"; }; export declare const setError: (error: any, origin?: 'user' | 'machine') => { type: string; error: any; origin: "user" | "machine"; };