import { a as ActionStateObject } from '../../actionsReducer-Bzcj3wk3.mjs'; import { T as ThDockingKeys } from '../../actions-C33UN3Ji.mjs'; export { C as CollapsiblePref, h as ThActionEntry, x as ThActionsBar, i as ThActionsBarProps, w as ThActionsTriggerVariant, d as ThCollapsibility, u as ThCollapsibilityVisibility, v as useCollapsibility } from '../../actions-C33UN3Ji.mjs'; import { T as ThActionButtonProps, W as WithRef, H as HTMLAttributesWithRef } from '../../ThSettingsWrapper-D4WIzlXA.mjs'; export { d as THMenuProps, c as ThActionButton, b as ThCollapsibleActionsBar, a as ThCollapsibleActionsBarProps, u as ThDropdown, s as ThDropdownEntry, t as ThDropdownProps, e as ThMenu, g as ThMenuItem, f as ThMenuItemProps, i as ThNumberField, h as ThNumberFieldProps, l as ThRadioGroup, j as ThRadioGroupItems, k as ThRadioGroupProps, v as ThSettingsEntry, w as ThSettingsPrefs, y as ThSettingsWrapper, x as ThSettingsWrapperProps, n as ThSlider, m as ThSliderProps, p as ThSliderWithPresets, o as ThSliderWithPresetsProps, r as ThSwitch, q as ThSwitchProps } from '../../ThSettingsWrapper-D4WIzlXA.mjs'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { ButtonProps, SliderProps, SliderTrackProps, SliderThumbProps, HeadingProps, PopoverProps, DialogProps, ModalOverlayProps, FormProps, Button, NumberFieldProps, LabelProps, InputProps, FieldErrorProps, TextFieldProps, ValidationResult, SearchFieldProps, LinkProps, TooltipProps } from 'react-aria-components'; import { PositionProps, OverlayContainerProps, AriaOverlayProps, TooltipTriggerProps } from 'react-aria'; import React__default, { RefObject, ReactNode, HTMLAttributes, ComponentType, SVGProps } from 'react'; import { SheetRef, Sheet } from 'react-modal-sheet'; import '@reduxjs/toolkit'; import '../../immer.d-CoRThNOF.mjs'; import '../../ui-DnZZhozX.mjs'; import '@readium/navigator-html-injectables'; declare const ThCloseButton: ({ label, ref, compounds, children, ...props }: ThActionButtonProps) => react_jsx_runtime.JSX.Element; declare const ThDeleteButton: ({ label, ref, compounds, children, ...props }: ThActionButtonProps) => react_jsx_runtime.JSX.Element; interface ThDragIndicatorButtonProps extends ButtonProps { ref?: React.ForwardedRef; } declare const ThDragIndicatorButton: ({ ref, children, ...props }: ThDragIndicatorButtonProps) => react_jsx_runtime.JSX.Element; interface ThNavigationButtonProps extends ThActionButtonProps { direction?: "left" | "right"; } declare const ThNavigationButton: ({ direction, label, ref, compounds, children, ...props }: ThNavigationButtonProps) => react_jsx_runtime.JSX.Element; interface ThActionMap { [key: string | number | symbol]: ActionStateObject | undefined; } declare const useActions: (actionMap: ThActionMap) => { findOpen: () => K[]; anyOpen: () => boolean; isOpen: (key?: K | null) => boolean; findDocked: () => K[]; anyDocked: () => boolean; isDocked: (key?: K | null) => boolean; whichDocked: (key?: K | null) => ThDockingKeys | null | undefined; getDockedWidth: (key?: K | null) => number | undefined; everyOpenDocked: () => boolean; }; interface SeekableRange { start: number; end: number; } interface TimelineSegment { title?: string; timestamp: number; percentage: number; } interface ThAudioProgressProps { isDisabled?: boolean; currentTime: number; duration: number; playbackRate?: number; onSeek: (time: number) => void; currentChapter?: string; seekableRanges?: SeekableRange[]; hoverLabel?: string; onHoverProgression?: (progression: number | null) => void; segments?: TimelineSegment[]; compounds?: { wrapper?: React.HTMLAttributes; current?: React.HTMLAttributes; slider?: WithRef; track?: WithRef; thumb?: WithRef; elapsedTime?: React.HTMLAttributes; remainingTime?: React.HTMLAttributes; seekableRange?: React.HTMLAttributes; fragmentTick?: React.HTMLAttributes; tooltip?: WithRef, HTMLDivElement>; overlayContainer?: OverlayContainerProps; }; } declare const ThAudioProgress: ({ isDisabled, currentTime, duration, playbackRate, onSeek, currentChapter, seekableRanges, hoverLabel, onHoverProgression, segments, compounds }: ThAudioProgressProps) => react_jsx_runtime.JSX.Element; type ScrollOptions = { behavior?: ScrollBehavior; block?: ScrollLogicalPosition; inline?: ScrollLogicalPosition; }; type Action = { type: "focus"; options?: { preventScroll?: boolean; scrollContainerToTop?: boolean; }; } | { type: "scrollIntoView"; options?: ScrollOptions; } | { type: "none"; }; interface UseFirstFocusableProps { withinRef: RefObject; fallbackRef?: RefObject; scrollerRef?: RefObject; trackedState?: boolean; updateState?: unknown; action?: Action; withSelector?: string; } declare const useFirstFocusable: (props?: UseFirstFocusableProps) => HTMLElement | null; interface ThContainerHeaderProps extends HTMLAttributesWithRef { ref?: React.ForwardedRef; label: string; compounds?: { heading?: WithRef; }; } declare const ThContainerHeader: ({ ref, label, compounds, children, ...props }: ThContainerHeaderProps) => react_jsx_runtime.JSX.Element; interface THContainerWithCloseProps extends ThContainerHeaderProps { closeRef?: React.ForwardedRef; children?: never; compounds?: { heading: WithRef; button: ThActionButtonProps; }; } declare const ThContainerHeaderWithClose: ({ ref, closeRef, label, compounds, ...props }: THContainerWithCloseProps) => react_jsx_runtime.JSX.Element; interface THContainerWithPreviousProps extends ThContainerHeaderProps { previousRef?: React.ForwardedRef; children?: never; compounds?: { heading: WithRef; button: ThNavigationButtonProps; }; } declare const ThContainerHeaderWithPrevious: ({ ref, previousRef, label, compounds, ...props }: THContainerWithPreviousProps) => react_jsx_runtime.JSX.Element; interface ThContainerBodyProps extends HTMLAttributesWithRef { } declare const ThContainerBody: ({ ref, children, ...props }: ThContainerBodyProps) => react_jsx_runtime.JSX.Element; interface ThContainerProps { id?: string; ref?: React__default.RefObject; focusOptions?: UseFirstFocusableProps; children: [React__default.ReactElement, React__default.ReactElement]; } interface ThPopoverProps extends Omit, ThContainerProps { triggerRef: React__default.RefObject; compounds?: { dialog: WithRef; }; } declare const ThPopover: ({ ref, id, triggerRef, focusOptions, compounds, maxHeight, children, ...props }: ThPopoverProps) => react_jsx_runtime.JSX.Element; interface ThModalProps extends Omit, ThContainerProps { compounds?: { dialog: WithRef; }; } declare const ThModal: ({ ref, id, focusOptions, compounds, children, ...props }: ThModalProps) => react_jsx_runtime.JSX.Element; interface ThDockedPanelProps extends Omit, "children">, ThContainerProps { isOpen: boolean; portal: HTMLElement | null; } declare const ThDockedPanel: ({ ref, isOpen, portal, focusOptions, children, ...props }: ThDockedPanelProps) => react_jsx_runtime.JSX.Element; interface ThBottomSheetHeaderProps extends ThContainerHeaderProps { wrapper: React__default.ComponentProps; dragIndicator: React__default.ComponentProps; header: ThContainerHeaderProps; heading: HeadingProps; } interface ThBottomSheetCompounds { container?: Omit, "children">; header?: React__default.ComponentProps; dragIndicator?: ThDragIndicatorButtonProps; scroller?: { ref?: React__default.RefObject; className?: string; }; content?: React__default.ComponentProps; backdrop?: React__default.ComponentProps; } interface ThBottomSheetProps extends Omit, "children" | "ref" | "isOpen" | "onClose">, AriaOverlayProps, ThContainerProps { onOpenChange?: (isOpen: boolean) => void; isKeyboardDismissDisabled?: boolean; compounds?: ThBottomSheetCompounds; } declare const ThBottomSheet: ({ isOpen, onOpenChange, ref, focusOptions, isKeyboardDismissDisabled, detent, snapPoints, compounds, children, ...props }: ThBottomSheetProps) => react_jsx_runtime.JSX.Element; type ComponentMap = { [type in T]: React__default.ComponentType; }; interface TypedComponentRendererProps> { type: K; componentMap: ComponentMap; props?: any; children?: ReactNode; } declare const ThTypedComponentRenderer: >({ type, componentMap, props, children, }: TypedComponentRendererProps) => React__default.ReactElement>; interface ThFormProps extends FormProps { ref?: React__default.ForwardedRef; label: string; compounds?: { button?: Exclude, "type"> | React__default.ReactElement; }; } declare const ThForm: ({ ref, label, compounds, children, ...props }: ThFormProps) => react_jsx_runtime.JSX.Element; interface ThFormNumberFieldProps extends NumberFieldProps { ref?: React.ForwardedRef; onInputChange?: (rawValue: string) => void; label?: string; compounds?: { label?: WithRef; input?: WithRef; description?: string; fieldError?: WithRef; }; errorMessage?: string; } declare const ThFormNumberField: ({ ref, onInputChange, label, compounds, children, errorMessage, ...props }: ThFormNumberFieldProps) => react_jsx_runtime.JSX.Element; interface ThFormTextFieldProps extends TextFieldProps { ref?: React.ForwardedRef; label?: string; compounds?: { label?: WithRef; input?: WithRef; description?: string; fieldError?: WithRef; }; errorMessage?: string | ((validation: ValidationResult) => string); } declare const ThFormTextField: ({ ref, label, children, compounds, errorMessage, ...props }: ThFormTextFieldProps) => react_jsx_runtime.JSX.Element; interface ThFormSearchFieldProps extends SearchFieldProps { ref?: React__default.ForwardedRef; label?: string; compounds?: { label?: WithRef; input?: WithRef; searchIcon?: HTMLAttributes | React__default.ReactElement; clearButton?: ThActionButtonProps | React__default.ReactElement; description?: string; fieldError?: WithRef; }; errorMessage?: string | ((validation: ValidationResult) => string); } declare const ThFormSearchField: ({ ref, label, children, compounds, errorMessage, ...props }: ThFormSearchFieldProps) => react_jsx_runtime.JSX.Element; interface ThLinkProps extends LinkProps { ref?: React.ForwardedRef; href: string; children: React.ReactNode; compounds?: { /** * Props for the tooltipTrigger component. See `TooltipTriggerProps` for more information. */ tooltipTrigger?: WithRef; /** * Props for the tooltip component. See `TooltipProps` for more information. */ tooltip?: WithRef; /** * String for the tooltip */ label: string; }; } interface ThLinkIconProps extends Omit { "aria-label": string; } declare const ThLink: ({ ref, href, children, compounds, ...props }: ThLinkProps) => react_jsx_runtime.JSX.Element; interface ThBackArrowProps extends ThLinkIconProps { direction?: "left" | "right"; } declare const ThBackArrow: ({ ref, href, "aria-label": ariaLabel, direction, ...props }: ThBackArrowProps) => react_jsx_runtime.JSX.Element; declare const ThHome: ({ ref, href, "aria-label": ariaLabel, ...props }: ThLinkIconProps) => react_jsx_runtime.JSX.Element; declare const ThLibrary: ({ ref, href, "aria-label": ariaLabel, ...props }: ThLinkIconProps) => react_jsx_runtime.JSX.Element; declare const ThMenuButton: ({ label, ref, compounds, children, ...props }: ThActionButtonProps) => react_jsx_runtime.JSX.Element; declare const ThFooter: ({ ref, children, ...props }: HTMLAttributesWithRef) => react_jsx_runtime.JSX.Element; interface ThLoaderProps extends Omit, "aria-busy" | "aria-live"> { ref?: React.ForwardedRef; isLoading: boolean; loader: ReactNode; } declare const ThLoader: ({ ref, isLoading, loader, children, ...props }: ThLoaderProps) => react_jsx_runtime.JSX.Element; declare const ThHeader: ({ ref, children, ...props }: HTMLAttributesWithRef) => react_jsx_runtime.JSX.Element; interface ThInteractiveOverlayProps extends React.HTMLAttributes { ref?: React.ForwardedRef; isActive: boolean; children?: never; } declare const ThInteractiveOverlay: ({ ref, isActive, className, style, ...props }: ThInteractiveOverlayProps) => react_jsx_runtime.JSX.Element | undefined; interface ThPaginationLinkProps { icon?: ComponentType> | null; node: React__default.ReactNode; onPress: () => void; } interface ThPaginationProps extends React__default.HTMLAttributes { ref?: React__default.RefObject; children?: React__default.ReactNode; links?: { left?: ThPaginationLinkProps; right?: ThPaginationLinkProps; }; compounds?: { listItem?: React__default.HTMLAttributes; leftButton?: Exclude, "type">; rightButton?: Exclude, "type">; }; } declare const ThPagination: ({ ref, links, compounds, children, dir, ...restProps }: ThPaginationProps) => react_jsx_runtime.JSX.Element | null; interface ThRunningHeadProps extends HTMLAttributesWithRef { ref?: React__default.RefObject; label: string; } declare const ThRunningHead: ({ ref, label, ...props }: ThRunningHeadProps) => react_jsx_runtime.JSX.Element; interface ThDropdownButtonProps extends ButtonProps { ref?: React.ForwardedRef; } declare const ThDropdownButton: ({ ref, children, ...props }: ThDropdownButtonProps) => react_jsx_runtime.JSX.Element; declare const ThSettingsWrapperButton: ({ label, ref, compounds, children, ...props }: ThActionButtonProps) => react_jsx_runtime.JSX.Element; declare const ThSettingsResetButton: ({ label, ref, compounds, children, ...props }: ThActionButtonProps) => react_jsx_runtime.JSX.Element; interface ThGridProps extends HTMLAttributesWithRef { items: T[]; children?: never; renderItem: (item: T, index: number) => React__default.ReactNode; columnWidth?: number | string; gap?: number | string; } declare const ThGrid: ({ ref, items, renderItem, columnWidth, gap, ...props }: ThGridProps) => react_jsx_runtime.JSX.Element; export { type ComponentMap, type SeekableRange, type THContainerWithCloseProps, type THContainerWithPreviousProps, ThActionButtonProps, type ThActionMap, ThAudioProgress, type ThAudioProgressProps, ThBackArrow, type ThBackArrowProps, ThBottomSheet, type ThBottomSheetCompounds, type ThBottomSheetHeaderProps, type ThBottomSheetProps, ThCloseButton, ThContainerBody, type ThContainerBodyProps, ThContainerHeader, type ThContainerHeaderProps, ThContainerHeaderWithClose, ThContainerHeaderWithPrevious, ThDeleteButton, ThDockedPanel, type ThDockedPanelProps, ThDragIndicatorButton, type ThDragIndicatorButtonProps, ThDropdownButton, type ThDropdownButtonProps, ThFooter, ThForm, ThFormNumberField, type ThFormNumberFieldProps, type ThFormProps, ThFormSearchField, type ThFormSearchFieldProps, ThFormTextField, type ThFormTextFieldProps, ThGrid, type ThGridProps, ThHeader, ThHome, ThInteractiveOverlay, type ThInteractiveOverlayProps, ThLibrary, ThLink, type ThLinkIconProps, type ThLinkProps, ThLoader, type ThLoaderProps, ThMenuButton, ThModal, type ThModalProps, ThNavigationButton, type ThNavigationButtonProps, ThPagination, type ThPaginationLinkProps, type ThPaginationProps, ThPopover, type ThPopoverProps, ThRunningHead, type ThRunningHeadProps, ThSettingsResetButton, ThSettingsWrapperButton, ThTypedComponentRenderer, type TimelineSegment, type TypedComponentRendererProps, type UseFirstFocusableProps, useActions, useFirstFocusable };