import type { PushEventType } from "../../interfaces/PushEventType"; export interface UseNotificationPreferencesValues { /** * The set of push event types the user has opted OUT of. Empty (all-on) when * no preference row exists. `undefined` until the read resolves. */ disabledTypes: PushEventType[] | undefined; loading: boolean; updating: boolean; error: unknown; refetch: () => void; /** * Replace the user's disabled-types set (upsert). Server-exact type names. */ updatePreferences: (disabledTypes: PushEventType[]) => Promise; } /** * Read + update the acting user's push notification preferences (per-type * disable toggles). Mirrors the server's * `GET/PUT /:projectId/push-notifications/preferences` exactly. */ declare function useNotificationPreferences(): UseNotificationPreferencesValues; export default useNotificationPreferences;