accessibility-plugin-react 2.17.0 → 2.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -284,6 +284,7 @@ See [troubleshooting](docs/TROUBLESHOOTING.md) before filing an issue.
284
284
  - [Link highlighting, focus visibility, and landmark skip links](docs/LINKS_AND_FOCUS.md)
285
285
  - [Reduce motion and media controls](docs/REDUCE_MOTION.md)
286
286
  - [Internationalization and locale packs](docs/LOCALES.md)
287
+ - [Non-destructive reading mode](docs/READING_MODE.md)
287
288
  - [Contrast modes and forced-colors protection](docs/CONTRAST.md)
288
289
  - [Legible and dyslexia font stacks](docs/FONTS.md)
289
290
  - [Installation and Next.js](docs/INSTALLATION.md)
package/dist/index.d.mts CHANGED
@@ -147,6 +147,12 @@ interface LocaleStrings {
147
147
  formatPresetDeleted?: (presetName: string) => string;
148
148
  decreaseTextSize?: string;
149
149
  increaseTextSize?: string;
150
+ readingModeDescription?: string;
151
+ readingModeOpen?: string;
152
+ readingModeClose?: string;
153
+ readingModeFailed?: string;
154
+ formatReadingWords?: (words: number) => string;
155
+ formatReadingTime?: (minutes: number) => string;
150
156
  features?: FeatureLocaleLabels;
151
157
  }
152
158
  type SupportedLocale = "en" | "en-US" | "en-GB" | "si" | "si-LK" | "ta" | "ta-LK" | string;
@@ -749,6 +755,69 @@ declare const CustomPresetsController: typeof PresetsController;
749
755
  declare const SettingsImportExportController: typeof PresetsController;
750
756
  declare const PresetsBackupController: typeof PresetsController;
751
757
 
758
+ /**
759
+ * Non-destructive article content extraction for Reading Mode.
760
+ *
761
+ * Extracts readable article content from candidate containers without mutating
762
+ * or destroying host React DOM elements.
763
+ *
764
+ * Filters out:
765
+ * - Forms, interactive inputs, buttons, and sensitive fields (passwords, cards, hidden tokens)
766
+ * - Navigation menus, headers, footers, sidebars, cookie banners, advertisements
767
+ * - Scripts, styles, iframes, embeds, and dialogs
768
+ *
769
+ * Preserves:
770
+ * - Semantic headings (h1-h6), paragraphs (p), lists (ul, ol, li)
771
+ * - Hyperlinks (a[href]) with safe URIs
772
+ * - Images (img[src]) with alt text and captions (figure, figcaption)
773
+ * - Blockquotes and code blocks
774
+ *
775
+ * Purely client-side: zero network requests or external transmissions.
776
+ */
777
+ interface ArticleContent {
778
+ title: string;
779
+ byline?: string;
780
+ wordCount: number;
781
+ readingTimeMinutes: number;
782
+ html: string;
783
+ text: string;
784
+ }
785
+ /**
786
+ * Calculates word count from raw text string.
787
+ */
788
+ declare function countWords(text: string): number;
789
+ /**
790
+ * Estimates reading time in whole minutes (standard 200 wpm baseline).
791
+ */
792
+ declare function estimateReadingTime(words: number): number;
793
+ /**
794
+ * Finds the primary article candidate element within a root.
795
+ */
796
+ declare function findArticleCandidate(root: HTMLElement | Document): HTMLElement | null;
797
+ /**
798
+ * Non-destructive article content extractor.
799
+ * Returns null if no sufficient readable content is found on the page.
800
+ */
801
+ declare function extractArticleContent(root?: HTMLElement | Document): ArticleContent | null;
802
+
803
+ interface ReadingModeControllerProps {
804
+ className?: string;
805
+ label?: string;
806
+ description?: string;
807
+ onActivate?: (content: ArticleContent) => void;
808
+ onDeactivate?: () => void;
809
+ onError?: (error: Error) => void;
810
+ }
811
+ /**
812
+ * Controller for non-destructive Reading Mode.
813
+ *
814
+ * Extracts article-focused content without rewriting or mutating host React DOM elements.
815
+ * Preserves headings, links, and images while stripping forms, navigation, ads, and sensitive fields.
816
+ * If extraction fails or lacks readable content, gracefully notifies the user and returns to the original page.
817
+ * Zero content is sent externally.
818
+ */
819
+ declare function ReadingModeController({ className, label, description, onActivate, onDeactivate, onError, }?: ReadingModeControllerProps): react.JSX.Element;
820
+
752
821
  interface CustomPreset {
753
822
  id: string;
754
823
  name: string;
@@ -837,4 +906,4 @@ interface UsePresetsResult {
837
906
  */
838
907
  declare function usePresets(): UsePresetsResult;
839
908
 
840
- export { ALLOWED_PREFERENCE_KEYS, ALL_PROFILE_IDS, AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, AccessibilityProfilesController, type AccessibilityState, AccessibleTooltipsController, type ActiveProfileState, BigCursorController, type BigCursorControllerProps, CONTRAST_MODES, CONTRAST_PALETTES, CONTRAST_PROTECTED_SELECTOR, ChoiceControl, type ChoiceControlProps, type ChoiceGroup, type ChoiceOption, ContrastController, type ContrastMode, ContrastModeController, type ContrastModeValue, type ContrastPalette, type CursorSizePreference, type CustomPreset, CustomPresetsController, DEFAULT_PREFERENCES, DEFAULT_READING_MASK_HEIGHT, DYSLEXIA_FONT_STACK, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FONT_FAMILY_PRESETS, FONT_FAMILY_PROTECTED_SELECTOR, FeatureCard, type FeatureCardProps, type FeatureLocaleLabels, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, type HeadingItem, HeadingsNavigatorController, HideDecorativeImagesController, HideImagesController, type HideImagesControllerProps, HideVideosController, HighlightFocusController, type ImportResult, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, type LandmarkItem, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, MAX_READING_MASK_HEIGHT, MIN_READING_MASK_HEIGHT, PROFILE_DEFINITIONS, PageNavigatorController, type PageNavigatorControllerProps, PageStructureController, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, PresetsBackupController, PresetsController, type PresetsControllerProps, type PresetsExportV1, ProfileController, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, ProfilesController, type ProfilesControllerProps, READING_MASK_HEIGHT_PRESETS, type ReaderMode, ReadingGuideController, type ReadingGuideControllerProps, ReadingMaskController, type ReadingMaskControllerProps, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SettingsImportExportController, SkipToMainLink, type SkipToMainLinkProps, StepperControl, type StepperControlProps, type StorageMode, type SupportedLocale, TEXT_ALIGN_BLOCK_SELECTOR, TEXT_SCALE_PROTECTED_SELECTOR, TEXT_SCALE_STEPS, TEXT_SPACING_EXCLUDED_SELECTOR, TextAlignController, type TextAlignPreference, TextScaleController, type TextScaleControllerProps, type TextScaleStep, ToggleControl, type ToggleControlProps, TooltipsController, type TooltipsControllerProps, type UsePresetsResult, type UseProfilesResult, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, applyCustomPresetToStore, applyProfileToStore, createCustomPreset, createInitialPreferencesState, downloadJsonFile, enLocale, enableAccessibleTooltips, exportPresetsToJson, findMainLandmark, getAuthoredDescription, getProfileDefinition, getScriptSpacingConstraints, hasFinePointer, isEligibleDecorativeImage, isForcedColorsActive, isFunctionalOrMeaningfulImage, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, isValidCustomPreset, mapFeaturesToProfileSettings, mapProfileSettingsToFeatures, navigateToElement, normalizePreferenceValue, normalizePreferences, nudgeReadingAid, positionTooltip, preferencesReducer, recordProfileOverride, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, revertProfileFromStore, sanitizePreferences, scanHeadings, scanLandmarks, siLocale, subscribeFinePointer, subscribeForcedColors, subscribePageStructure, subscribeReducedMotion, taLocale, useAccessibility, usePresets, useProfiles, validateAndParseImport };
909
+ export { ALLOWED_PREFERENCE_KEYS, ALL_PROFILE_IDS, AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, AccessibilityProfilesController, type AccessibilityState, AccessibleTooltipsController, type ActiveProfileState, type ArticleContent, BigCursorController, type BigCursorControllerProps, CONTRAST_MODES, CONTRAST_PALETTES, CONTRAST_PROTECTED_SELECTOR, ChoiceControl, type ChoiceControlProps, type ChoiceGroup, type ChoiceOption, ContrastController, type ContrastMode, ContrastModeController, type ContrastModeValue, type ContrastPalette, type CursorSizePreference, type CustomPreset, CustomPresetsController, DEFAULT_PREFERENCES, DEFAULT_READING_MASK_HEIGHT, DYSLEXIA_FONT_STACK, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FONT_FAMILY_PRESETS, FONT_FAMILY_PROTECTED_SELECTOR, FeatureCard, type FeatureCardProps, type FeatureLocaleLabels, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, type HeadingItem, HeadingsNavigatorController, HideDecorativeImagesController, HideImagesController, type HideImagesControllerProps, HideVideosController, HighlightFocusController, type ImportResult, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, type LandmarkItem, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, MAX_READING_MASK_HEIGHT, MIN_READING_MASK_HEIGHT, PROFILE_DEFINITIONS, PageNavigatorController, type PageNavigatorControllerProps, PageStructureController, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, PresetsBackupController, PresetsController, type PresetsControllerProps, type PresetsExportV1, ProfileController, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, ProfilesController, type ProfilesControllerProps, READING_MASK_HEIGHT_PRESETS, type ReaderMode, ReadingGuideController, type ReadingGuideControllerProps, ReadingMaskController, type ReadingMaskControllerProps, ReadingModeController, type ReadingModeControllerProps, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SettingsImportExportController, SkipToMainLink, type SkipToMainLinkProps, StepperControl, type StepperControlProps, type StorageMode, type SupportedLocale, TEXT_ALIGN_BLOCK_SELECTOR, TEXT_SCALE_PROTECTED_SELECTOR, TEXT_SCALE_STEPS, TEXT_SPACING_EXCLUDED_SELECTOR, TextAlignController, type TextAlignPreference, TextScaleController, type TextScaleControllerProps, type TextScaleStep, ToggleControl, type ToggleControlProps, TooltipsController, type TooltipsControllerProps, type UsePresetsResult, type UseProfilesResult, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, applyCustomPresetToStore, applyProfileToStore, countWords, createCustomPreset, createInitialPreferencesState, downloadJsonFile, enLocale, enableAccessibleTooltips, estimateReadingTime, exportPresetsToJson, extractArticleContent, findArticleCandidate, findMainLandmark, getAuthoredDescription, getProfileDefinition, getScriptSpacingConstraints, hasFinePointer, isEligibleDecorativeImage, isForcedColorsActive, isFunctionalOrMeaningfulImage, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, isValidCustomPreset, mapFeaturesToProfileSettings, mapProfileSettingsToFeatures, navigateToElement, normalizePreferenceValue, normalizePreferences, nudgeReadingAid, positionTooltip, preferencesReducer, recordProfileOverride, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, revertProfileFromStore, sanitizePreferences, scanHeadings, scanLandmarks, siLocale, subscribeFinePointer, subscribeForcedColors, subscribePageStructure, subscribeReducedMotion, taLocale, useAccessibility, usePresets, useProfiles, validateAndParseImport };
package/dist/index.d.ts CHANGED
@@ -147,6 +147,12 @@ interface LocaleStrings {
147
147
  formatPresetDeleted?: (presetName: string) => string;
148
148
  decreaseTextSize?: string;
149
149
  increaseTextSize?: string;
150
+ readingModeDescription?: string;
151
+ readingModeOpen?: string;
152
+ readingModeClose?: string;
153
+ readingModeFailed?: string;
154
+ formatReadingWords?: (words: number) => string;
155
+ formatReadingTime?: (minutes: number) => string;
150
156
  features?: FeatureLocaleLabels;
151
157
  }
152
158
  type SupportedLocale = "en" | "en-US" | "en-GB" | "si" | "si-LK" | "ta" | "ta-LK" | string;
@@ -749,6 +755,69 @@ declare const CustomPresetsController: typeof PresetsController;
749
755
  declare const SettingsImportExportController: typeof PresetsController;
750
756
  declare const PresetsBackupController: typeof PresetsController;
751
757
 
758
+ /**
759
+ * Non-destructive article content extraction for Reading Mode.
760
+ *
761
+ * Extracts readable article content from candidate containers without mutating
762
+ * or destroying host React DOM elements.
763
+ *
764
+ * Filters out:
765
+ * - Forms, interactive inputs, buttons, and sensitive fields (passwords, cards, hidden tokens)
766
+ * - Navigation menus, headers, footers, sidebars, cookie banners, advertisements
767
+ * - Scripts, styles, iframes, embeds, and dialogs
768
+ *
769
+ * Preserves:
770
+ * - Semantic headings (h1-h6), paragraphs (p), lists (ul, ol, li)
771
+ * - Hyperlinks (a[href]) with safe URIs
772
+ * - Images (img[src]) with alt text and captions (figure, figcaption)
773
+ * - Blockquotes and code blocks
774
+ *
775
+ * Purely client-side: zero network requests or external transmissions.
776
+ */
777
+ interface ArticleContent {
778
+ title: string;
779
+ byline?: string;
780
+ wordCount: number;
781
+ readingTimeMinutes: number;
782
+ html: string;
783
+ text: string;
784
+ }
785
+ /**
786
+ * Calculates word count from raw text string.
787
+ */
788
+ declare function countWords(text: string): number;
789
+ /**
790
+ * Estimates reading time in whole minutes (standard 200 wpm baseline).
791
+ */
792
+ declare function estimateReadingTime(words: number): number;
793
+ /**
794
+ * Finds the primary article candidate element within a root.
795
+ */
796
+ declare function findArticleCandidate(root: HTMLElement | Document): HTMLElement | null;
797
+ /**
798
+ * Non-destructive article content extractor.
799
+ * Returns null if no sufficient readable content is found on the page.
800
+ */
801
+ declare function extractArticleContent(root?: HTMLElement | Document): ArticleContent | null;
802
+
803
+ interface ReadingModeControllerProps {
804
+ className?: string;
805
+ label?: string;
806
+ description?: string;
807
+ onActivate?: (content: ArticleContent) => void;
808
+ onDeactivate?: () => void;
809
+ onError?: (error: Error) => void;
810
+ }
811
+ /**
812
+ * Controller for non-destructive Reading Mode.
813
+ *
814
+ * Extracts article-focused content without rewriting or mutating host React DOM elements.
815
+ * Preserves headings, links, and images while stripping forms, navigation, ads, and sensitive fields.
816
+ * If extraction fails or lacks readable content, gracefully notifies the user and returns to the original page.
817
+ * Zero content is sent externally.
818
+ */
819
+ declare function ReadingModeController({ className, label, description, onActivate, onDeactivate, onError, }?: ReadingModeControllerProps): react.JSX.Element;
820
+
752
821
  interface CustomPreset {
753
822
  id: string;
754
823
  name: string;
@@ -837,4 +906,4 @@ interface UsePresetsResult {
837
906
  */
838
907
  declare function usePresets(): UsePresetsResult;
839
908
 
840
- export { ALLOWED_PREFERENCE_KEYS, ALL_PROFILE_IDS, AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, AccessibilityProfilesController, type AccessibilityState, AccessibleTooltipsController, type ActiveProfileState, BigCursorController, type BigCursorControllerProps, CONTRAST_MODES, CONTRAST_PALETTES, CONTRAST_PROTECTED_SELECTOR, ChoiceControl, type ChoiceControlProps, type ChoiceGroup, type ChoiceOption, ContrastController, type ContrastMode, ContrastModeController, type ContrastModeValue, type ContrastPalette, type CursorSizePreference, type CustomPreset, CustomPresetsController, DEFAULT_PREFERENCES, DEFAULT_READING_MASK_HEIGHT, DYSLEXIA_FONT_STACK, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FONT_FAMILY_PRESETS, FONT_FAMILY_PROTECTED_SELECTOR, FeatureCard, type FeatureCardProps, type FeatureLocaleLabels, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, type HeadingItem, HeadingsNavigatorController, HideDecorativeImagesController, HideImagesController, type HideImagesControllerProps, HideVideosController, HighlightFocusController, type ImportResult, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, type LandmarkItem, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, MAX_READING_MASK_HEIGHT, MIN_READING_MASK_HEIGHT, PROFILE_DEFINITIONS, PageNavigatorController, type PageNavigatorControllerProps, PageStructureController, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, PresetsBackupController, PresetsController, type PresetsControllerProps, type PresetsExportV1, ProfileController, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, ProfilesController, type ProfilesControllerProps, READING_MASK_HEIGHT_PRESETS, type ReaderMode, ReadingGuideController, type ReadingGuideControllerProps, ReadingMaskController, type ReadingMaskControllerProps, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SettingsImportExportController, SkipToMainLink, type SkipToMainLinkProps, StepperControl, type StepperControlProps, type StorageMode, type SupportedLocale, TEXT_ALIGN_BLOCK_SELECTOR, TEXT_SCALE_PROTECTED_SELECTOR, TEXT_SCALE_STEPS, TEXT_SPACING_EXCLUDED_SELECTOR, TextAlignController, type TextAlignPreference, TextScaleController, type TextScaleControllerProps, type TextScaleStep, ToggleControl, type ToggleControlProps, TooltipsController, type TooltipsControllerProps, type UsePresetsResult, type UseProfilesResult, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, applyCustomPresetToStore, applyProfileToStore, createCustomPreset, createInitialPreferencesState, downloadJsonFile, enLocale, enableAccessibleTooltips, exportPresetsToJson, findMainLandmark, getAuthoredDescription, getProfileDefinition, getScriptSpacingConstraints, hasFinePointer, isEligibleDecorativeImage, isForcedColorsActive, isFunctionalOrMeaningfulImage, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, isValidCustomPreset, mapFeaturesToProfileSettings, mapProfileSettingsToFeatures, navigateToElement, normalizePreferenceValue, normalizePreferences, nudgeReadingAid, positionTooltip, preferencesReducer, recordProfileOverride, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, revertProfileFromStore, sanitizePreferences, scanHeadings, scanLandmarks, siLocale, subscribeFinePointer, subscribeForcedColors, subscribePageStructure, subscribeReducedMotion, taLocale, useAccessibility, usePresets, useProfiles, validateAndParseImport };
909
+ export { ALLOWED_PREFERENCE_KEYS, ALL_PROFILE_IDS, AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, AccessibilityProfilesController, type AccessibilityState, AccessibleTooltipsController, type ActiveProfileState, type ArticleContent, BigCursorController, type BigCursorControllerProps, CONTRAST_MODES, CONTRAST_PALETTES, CONTRAST_PROTECTED_SELECTOR, ChoiceControl, type ChoiceControlProps, type ChoiceGroup, type ChoiceOption, ContrastController, type ContrastMode, ContrastModeController, type ContrastModeValue, type ContrastPalette, type CursorSizePreference, type CustomPreset, CustomPresetsController, DEFAULT_PREFERENCES, DEFAULT_READING_MASK_HEIGHT, DYSLEXIA_FONT_STACK, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FONT_FAMILY_PRESETS, FONT_FAMILY_PROTECTED_SELECTOR, FeatureCard, type FeatureCardProps, type FeatureLocaleLabels, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, type HeadingItem, HeadingsNavigatorController, HideDecorativeImagesController, HideImagesController, type HideImagesControllerProps, HideVideosController, HighlightFocusController, type ImportResult, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, type LandmarkItem, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, MAX_READING_MASK_HEIGHT, MIN_READING_MASK_HEIGHT, PROFILE_DEFINITIONS, PageNavigatorController, type PageNavigatorControllerProps, PageStructureController, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, PresetsBackupController, PresetsController, type PresetsControllerProps, type PresetsExportV1, ProfileController, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, ProfilesController, type ProfilesControllerProps, READING_MASK_HEIGHT_PRESETS, type ReaderMode, ReadingGuideController, type ReadingGuideControllerProps, ReadingMaskController, type ReadingMaskControllerProps, ReadingModeController, type ReadingModeControllerProps, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SettingsImportExportController, SkipToMainLink, type SkipToMainLinkProps, StepperControl, type StepperControlProps, type StorageMode, type SupportedLocale, TEXT_ALIGN_BLOCK_SELECTOR, TEXT_SCALE_PROTECTED_SELECTOR, TEXT_SCALE_STEPS, TEXT_SPACING_EXCLUDED_SELECTOR, TextAlignController, type TextAlignPreference, TextScaleController, type TextScaleControllerProps, type TextScaleStep, ToggleControl, type ToggleControlProps, TooltipsController, type TooltipsControllerProps, type UsePresetsResult, type UseProfilesResult, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, applyCustomPresetToStore, applyProfileToStore, countWords, createCustomPreset, createInitialPreferencesState, downloadJsonFile, enLocale, enableAccessibleTooltips, estimateReadingTime, exportPresetsToJson, extractArticleContent, findArticleCandidate, findMainLandmark, getAuthoredDescription, getProfileDefinition, getScriptSpacingConstraints, hasFinePointer, isEligibleDecorativeImage, isForcedColorsActive, isFunctionalOrMeaningfulImage, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, isValidCustomPreset, mapFeaturesToProfileSettings, mapProfileSettingsToFeatures, navigateToElement, normalizePreferenceValue, normalizePreferences, nudgeReadingAid, positionTooltip, preferencesReducer, recordProfileOverride, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, revertProfileFromStore, sanitizePreferences, scanHeadings, scanLandmarks, siLocale, subscribeFinePointer, subscribeForcedColors, subscribePageStructure, subscribeReducedMotion, taLocale, useAccessibility, usePresets, useProfiles, validateAndParseImport };