type ThBreakpointRange = { min: number | null; max: number | null; }; type ThBreakpointRanges = { [key in ThBreakpoints]: ThBreakpointRange | null; }; type BreakpointsMap = { [key in ThBreakpoints]?: T; }; type ThBreakpointsObject = { [key in ThBreakpoints]: boolean | null; } & { current: string | null; } & { ranges: ThBreakpointRanges; }; declare const useBreakpoints: (map: BreakpointsMap, onChange?: (breakpoint: ThBreakpoints | null) => void) => ThBreakpointsObject; type ThBackLinkContent = { type: "img"; src: string; alt?: string; } | { type: "svg"; content: string; }; interface ThBackLinkPref { href: string; variant?: ThBackLinkVariant; visibility?: "always" | "partially"; content?: ThBackLinkContent; } interface ThFormatPrefValue> { variants: T; displayInImmersive?: boolean; displayInFullscreen?: boolean; } interface ThFormatPref> { default: ThFormatPrefValue; breakpoints?: { [key in ThBreakpoints]?: ThFormatPrefValue; }; } interface ThPaginatedAffordancePrefValue { variant: ThArrowVariant; discard?: Array<"navigation" | "immersive" | "fullscreen"> | "none"; hint?: Array<"immersiveChange" | "fullscreenChange" | "layoutChange"> | "none"; } interface ThPaginatedAffordancePref { default: Required; breakpoints?: { [key in ThBreakpoints]?: ThPaginatedAffordancePrefValue; }; } declare enum ThArrowVariant { none = "none", stacked = "stacked", layered = "layered" } declare enum ThBreakpoints { compact = "compact", medium = "medium", expanded = "expanded", large = "large", xLarge = "xLarge" } declare enum ThBackLinkVariant { arrow = "arrow", home = "home", library = "library", custom = "custom" } declare enum ThDocumentTitleFormat { title = "title", chapter = "chapter", titleAndChapter = "titleAndChapter", none = "none" } declare enum ThLayoutDirection { rtl = "rtl", ltr = "ltr" } declare enum ThLayoutUI { stacked = "stacked-ui", layered = "layered-ui" } declare enum ThProgressionFormat { positionsPercentOfTotal = "positionsPercentOfTotal",// x-y of z (%) positionsOfTotal = "positionsOfTotal",// x-y of z positions = "positions",// x-y overallProgression = "overallProgression",// x% positionsLeft = "positionsLeft",// x left in chapter readingOrderIndex = "readingOrderIndex",// x of y resourceProgression = "resourceProgression",// x% progressionOfResource = "progressionOfResource",// x% of y none = "none" } declare enum ThRunningHeadFormat { title = "title", chapter = "chapter", none = "none" } declare enum ThAudioPlayerComponent { cover = "cover", metadata = "metadata", playbackControls = "playbackControls", progressBar = "progressBar", mediaActions = "mediaActions" } declare enum ThAudioProgressBarVariant { normal = "normal", segmented = "segmented" } declare enum ThAudioPublicationMetadataComponent { title = "title", titleWithSubtitle = "titleWithSubtitle", subtitleWithTitle = "subtitleWithTitle", authors = "authors" } type TitleVariant = ThAudioPublicationMetadataComponent.title | ThAudioPublicationMetadataComponent.titleWithSubtitle | ThAudioPublicationMetadataComponent.subtitleWithTitle; type ThPublicationMetadataOrder = [TitleVariant] | [TitleVariant, ThAudioPublicationMetadataComponent.authors] | [ThAudioPublicationMetadataComponent.authors, TitleVariant]; export { type BreakpointsMap as B, type ThBackLinkPref as T, ThAudioPlayerComponent as a, type ThPublicationMetadataOrder as b, ThAudioProgressBarVariant as c, ThBreakpoints as d, type ThBreakpointsObject as e, ThDocumentTitleFormat as f, type ThFormatPref as g, ThRunningHeadFormat as h, ThProgressionFormat as i, ThLayoutUI as j, type ThPaginatedAffordancePref as k, type ThBackLinkContent as l, type ThFormatPrefValue as m, type ThPaginatedAffordancePrefValue as n, ThArrowVariant as o, ThBackLinkVariant as p, ThLayoutDirection as q, ThAudioPublicationMetadataComponent as r, useBreakpoints as u };