/** @internal */ export interface UseNotificationClientReturn { toggleNotifications: () => Promise; enabled: boolean; loading: boolean; hasNotFoundError: boolean; hasReadPermission: boolean; hasWritePermission: boolean; } /** * Base client shared for all notifications services. * * @internal * */ export declare function useNotificationClient; }, ErrorEnvelopeError extends { body: { error: { details?: { errorCode?: string; }; }; }; }>(notificationType: 'event' | 'resource' | 'self', config: NotificationConfigType, connectors: { list: (config: NotificationConfigType, abortSignal: AbortSignal) => Promise; create: (config: NotificationConfigType) => Promise; destroy: (id: string) => Promise; isErrorEnvelopeError: (e: unknown) => e is ErrorEnvelopeError; }): UseNotificationClientReturn;