import { EffectiveNotificationPreference } from './notifications-client.js'; import { NOTIFICATION_PREFERENCE_FLUSH_MS } from './preference-write-buffer.js'; export declare const NOTIFICATION_PREFERENCES_QUERY_KEY: readonly ["athena", "notifications", "preferences"]; export { NOTIFICATION_PREFERENCE_FLUSH_MS }; export type NotificationPreferencesController = ReturnType; type NotificationChannelToggle = { channel: string; enabled: boolean; }; export declare function useNotificationPreferences(options?: { enabled?: boolean; organizationId?: string | null; }): { error: unknown; isLoading: boolean; isResetting: boolean; isUpdating: (topic: string, channel: string) => boolean; isUpdatingChannel: (channel: string) => boolean; items: EffectiveNotificationPreference[]; reconcile: () => Promise; resetAll: () => Promise; resetEpoch: number; resetError: unknown; setChannel: (input: NotificationChannelToggle) => Promise; setChannelError: unknown; update: (input: { channel: string; digest?: string | null; enabled: boolean; topic: string; }) => Promise<{ item: { channel: string; digest: string | null; enabled: boolean; topic: string; }; }>; updateError: unknown; };