import * as _reduxjs_toolkit from '@reduxjs/toolkit'; import { W as WritableDraft } from './immer.d-CoRThNOF.mjs'; import { T as ThLineHeightOptions, a as ThSpacingPresetKeys, b as ThSpacingSettingsKeys, c as ThTextAlignOptions } from './useContrast-Bl08zDTU.mjs'; interface FontFamilyStateObject { default: string; [language: string]: string; } interface SetFontFamilyPayload { type: string; payload: { key: "default" | string; value: string; }; } interface LineLengthStateObject { optimal?: number | null; min?: { chars?: number | null; isDisabled?: boolean; }; max?: { chars?: number | null; isDisabled?: boolean; }; } interface SetLineLengthPayload { type: string; payload: { key: "optimal" | "min" | "max"; value?: number | null; isDisabled?: boolean; }; } interface SetSpacingSettingPayload { type: string; payload: { value: T; preset?: ThSpacingPresetKeys; }; } interface SetSpacingPresetPayload { type: string; payload: { preset: ThSpacingPresetKeys; values: Partial>; }; } type SpacingStateKey = Exclude; interface SpacingStateObject { preset: ThSpacingPresetKeys; custom: Partial>; baseline: Partial>; } interface SettingsReducerState { columnCount: string; fontFamily: FontFamilyStateObject; fontSize: number; fontWeight: number; hyphens: boolean | null; letterSpacing: number | null; ligatures: boolean | null; lineHeight: ThLineHeightOptions | null; lineLength: LineLengthStateObject | null; noRuby: boolean | null; paragraphIndent: number | null; paragraphSpacing: number | null; publisherStyles: boolean; scroll: boolean; spacing: SpacingStateObject; textAlign: ThTextAlignOptions; textNormalization: boolean; wordSpacing: number | null; } declare const handleSpacingSetting: (state: any, action: SetSpacingSettingPayload, settingKey: ThSpacingSettingsKeys) => void; declare const settingsSlice: _reduxjs_toolkit.Slice, action: { payload: any; type: string; }) => void; setFontFamily: (state: WritableDraft, action: SetFontFamilyPayload) => void; setFontSize: (state: WritableDraft, action: { payload: any; type: string; }) => void; setFontWeight: (state: WritableDraft, action: { payload: any; type: string; }) => void; setHyphens: (state: WritableDraft, action: { payload: any; type: string; }) => void; setLigatures: (state: WritableDraft, action: { payload: any; type: string; }) => void; setLetterSpacing: (state: WritableDraft, action: { payload: any; type: string; }) => void; setLineHeight: (state: WritableDraft, action: { payload: any; type: string; }) => void; setLineLength: (state: WritableDraft, action: SetLineLengthPayload) => void; setParagraphIndent: (state: WritableDraft, action: { payload: any; type: string; }) => void; setParagraphSpacing: (state: WritableDraft, action: { payload: any; type: string; }) => void; setPublisherStyles: (state: WritableDraft, action: { payload: any; type: string; }) => void; setScroll: (state: WritableDraft, action: { payload: any; type: string; }) => void; setSpacingPreset: (state: WritableDraft, action: SetSpacingPresetPayload) => void; setTextAlign: (state: WritableDraft, action: { payload: any; type: string; }) => void; setTextNormalization: (state: WritableDraft, action: { payload: any; type: string; }) => void; setNoRuby: (state: WritableDraft, action: { payload: any; type: string; }) => void; setWordSpacing: (state: WritableDraft, action: { payload: any; type: string; }) => void; }, "settings", "settings", _reduxjs_toolkit.SliceSelectors>; declare const initialSettingsState: SettingsReducerState; declare const setColumnCount: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setFontSize: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setFontWeight: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setFontFamily: _reduxjs_toolkit.ActionCreatorWithPayload<{ key: "default" | string; value: string; }, "settings/setFontFamily">; declare const setHyphens: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setLigatures: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setLetterSpacing: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setLineHeight: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setLineLength: _reduxjs_toolkit.ActionCreatorWithPayload<{ key: "optimal" | "min" | "max"; value?: number | null; isDisabled?: boolean; }, "settings/setLineLength">; declare const setParagraphIndent: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setParagraphSpacing: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setPublisherStyles: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setScroll: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setSpacingPreset: _reduxjs_toolkit.ActionCreatorWithPayload<{ preset: ThSpacingPresetKeys; values: Partial>; }, "settings/setSpacingPreset">; declare const setTextAlign: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setTextNormalization: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setNoRuby: _reduxjs_toolkit.ActionCreatorWithPayload; declare const setWordSpacing: _reduxjs_toolkit.ActionCreatorWithPayload; export { setWordSpacing as A, type FontFamilyStateObject as F, type LineLengthStateObject as L, type SetFontFamilyPayload as S, type SetLineLengthPayload as a, type SetSpacingSettingPayload as b, type SetSpacingPresetPayload as c, type SpacingStateKey as d, type SpacingStateObject as e, type SettingsReducerState as f, setColumnCount as g, handleSpacingSetting as h, initialSettingsState as i, setFontSize as j, setFontWeight as k, setFontFamily as l, setHyphens as m, setLigatures as n, setLetterSpacing as o, setLineHeight as p, setLineLength as q, setParagraphIndent as r, settingsSlice as s, setParagraphSpacing as t, setPublisherStyles as u, setScroll as v, setSpacingPreset as w, setTextAlign as x, setTextNormalization as y, setNoRuby as z };