export interface PersistedState { petSlug: string; totalEvents: number; level: number; levelName: string; createdAt: string; lastActiveAt: string; version: number; } export declare function getDefaultState(slug?: string): PersistedState; export declare function loadState(): PersistedState; export declare function saveState(state: PersistedState): void; export declare function incrementEvents(state: PersistedState, count?: number): PersistedState; export declare function detectLevelUp(oldState: PersistedState, newState: PersistedState): boolean; //# sourceMappingURL=storage.d.ts.map