a0-purchases
Version:
Lightweight subscription management for AI apps with auto-detecting providers
7 lines • 452 B
TypeScript
export declare const setDebugEnabled: (enabled: boolean) => void;
export declare const ANONYMOUS_USER_PREFIX = "$AnonymousUser:";
export declare const isAnonymousUserId: (userId: string | null) => boolean;
export declare const getOrCreateUserId: (customUserId?: string) => Promise<string>;
export declare const clearUserId: () => Promise<void>;
export declare const setUserId: (newUserId: string) => Promise<void>;
//# sourceMappingURL=storage.d.ts.map