import { default as React } from 'react'; import { HyperextensionConfig, HyperextensionListenerCallback, ScrollTargetConfig, ScrollTargetData, ScrollableControlsHandler } from '../Scrollable/useScrollable'; import { NotificationCardProps } from '../NotificationCard/NotificationCard'; import { PyrionLayoutControls } from './PyrionLayout'; import { NotificationLoaderType } from './PLNotificationsList'; import { NotificationsListControlsHandler } from './usePyrionNotifications'; type PyrionSection = "notifications" | "help"; declare const usePyrionActiveSection: (initialSectionRef: React.RefObject | undefined, navigationControlsRef: React.RefObject> | undefined, enabled?: boolean) => PyrionSection; export declare const usePyrionDefaultActionState: ({ activeActionId, initialSectionRef, navigationControlsRef, enabled, }: { activeActionId?: string; initialSectionRef?: React.RefObject; navigationControlsRef?: React.RefObject>; enabled: boolean; }) => string | undefined; export { usePyrionActiveSection }; export declare const usePyrionActiveSectionState: ({ controlsRef, notificationsListControls, scrollableControls, }: { controlsRef: React.RefObject>; notificationsListControls?: React.RefObject | null>; scrollableControls?: React.RefObject; }) => { initialSectionRef: React.RefObject; openNotifications: () => void; openHelp: () => void; subscribeToSection: (listener: (section: PyrionSection) => void) => () => boolean; addNewNotification: (notification: NotificationCardProps | NotificationCardProps[], position?: "top" | "bottom") => void; subscribeToNotificationsUpdates: (callback: (notifications: NotificationCardProps[], count: { total: number; unread: number; }) => void) => () => void; removeNotification: (id: string | string[]) => void; removeAllNotifications: () => void; setNotifications: (notifications: NotificationCardProps[] | ((notifications: NotificationCardProps[]) => NotificationCardProps[])) => void; setNotificationsLoading: (loading: boolean, type?: NotificationLoaderType) => void; setNotificationsError: (hasError: boolean, children?: React.ReactNode | (() => React.ReactNode)) => void; subscribeToNotificationsScroll: (callback: (data: ScrollTargetData) => void, config?: ScrollTargetConfig) => () => void; subscribeToHyperextension: (callback: HyperextensionListenerCallback, config?: HyperextensionConfig) => () => void; };