import type * as Whop from "../index.mjs"; export interface NotificationPreferenceState { /** What the user is now notified about in this scope, or `null` if the preference was cleared and the scope inherits its default again. */ level: NotificationPreferenceState.Level | null; /** Which kind of preference was written: `experience_notification_preference` for an experience level, `notification_preference` for a topic override. */ object: NotificationPreferenceState.Object_; /** The scope that was written, resolved. `null` on a dimension means the preference is not narrowed there. */ scope: Whop.NotificationPreferenceScope; } export declare namespace NotificationPreferenceState { /** What the user is now notified about in this scope, or `null` if the preference was cleared and the scope inherits its default again. */ const Level: { readonly All: "all"; readonly Mentions: "mentions"; readonly Nothing: "nothing"; }; type Level = (typeof Level)[keyof typeof Level]; /** Which kind of preference was written: `experience_notification_preference` for an experience level, `notification_preference` for a topic override. */ const Object_: { readonly NotificationPreference: "notification_preference"; readonly ExperienceNotificationPreference: "experience_notification_preference"; }; type Object_ = (typeof Object_)[keyof typeof Object_]; }