export interface NotificationTopic { /** Whether notifications for this topic are enabled by default when the user has not set a preference. */ default_preference_value: boolean; /** Human-readable explanation of what notifications in this topic are about. `null` when no description has been set. */ description: string | null; /** Notification topic ID, prefixed `topic_`. This is the value the notification preference endpoints take as `topic_id`. */ id: string; /** Stable, human-readable name for the category, such as `new-follower`. Unlike `id`, it is the same in every environment, which makes it the value to match on in code and to read in logs. Treat it as an opaque string: the set is open and the casing is historical rather than normalized. */ identifier: string; /** Whether this topic exclusively handles mention-based notifications. */ is_mention: boolean; /** Display name shown in notification preference settings. */ name: string; /** Scope of the topic: whether it applies to an account, a user, or an account's team. */ topic_type: NotificationTopic.TopicType; } export declare namespace NotificationTopic { /** Scope of the topic: whether it applies to an account, a user, or an account's team. */ const TopicType: { readonly Account: "account"; readonly User: "user"; readonly AccountTeam: "account_team"; }; type TopicType = (typeof TopicType)[keyof typeof TopicType]; }