import * as _udecode_plate_core_react from '@udecode/plate-core/react'; import * as _udecode_plate_core from '@udecode/plate-core'; import { B as BaseIndentListConfig, G as GetSiblingIndentListOptions, L as ListStyleType } from '../BaseIndentListPlugin-BsmWXxhM.mjs'; import * as _udecode_slate from '@udecode/slate'; import * as zustand_x from 'zustand-x'; import * as mutative from 'mutative'; import * as is_hotkey from 'is-hotkey'; import * as _udecode_utils from '@udecode/utils'; import { TElement } from '@udecode/plate'; type IndentListConfig = BaseIndentListConfig; /** Enables support for indented lists with React-specific features. */ declare const IndentListPlugin: _udecode_plate_core_react.PlatePlugin<_udecode_plate_core.PluginConfig<"listStyleType", { getSiblingIndentListOptions?: GetSiblingIndentListOptions<_udecode_slate.TElement>; listStyleTypes?: Record; markerComponent?: React.FC>; }>; getListStyleType?: (element: HTMLElement) => ListStyleType; }, {}, {}, {}>>; declare const useIndentListToolbarButtonState: ({ nodeType, }?: { nodeType?: string; }) => { nodeType: string; pressed: boolean; }; declare const useIndentListToolbarButton: ({ nodeType, pressed, }: ReturnType) => { props: { pressed: boolean; onClick: () => void; onMouseDown: (e: React.MouseEvent) => void; }; }; declare const useIndentTodoListElementState: ({ element, }: { element: TElement; }) => { checked: unknown; editor: { id: string; children: _udecode_slate.Value; history: _udecode_slate.History; marks: _udecode_slate.EditorMarks | null; meta: _udecode_utils.UnknownObject; operations: _udecode_slate.Operation[]; selection: _udecode_slate.EditorSelection; } & _udecode_slate.EditorMethods<_udecode_slate.Value> & _udecode_utils.UnknownObject & { dom: { composing: boolean; currentKeyboardEvent: is_hotkey.KeyboardEventLike | null; focused: boolean; prevSelection: _udecode_slate.TRange | null; readOnly: boolean; }; meta: _udecode_slate.EditorBase["meta"] & { key: any; components: _udecode_plate_core.NodeComponents; isFallback: boolean; pluginCache: { decorate: string[]; handlers: { onChange: string[]; }; inject: { nodeProps: string[]; }; node: { isContainer: string[]; isElement: string[]; isInline: string[]; isLeaf: string[]; isMarkableVoid: string[]; isNotSelectable: string[]; isStrictSiblings: string[]; isVoid: string[]; types: Record; }; normalizeInitialValue: string[]; render: { aboveEditable: string[]; aboveNodes: string[]; aboveSlate: string[]; afterContainer: string[]; afterEditable: string[]; beforeContainer: string[]; beforeEditable: string[]; belowNodes: string[]; belowRootNodes: string[]; }; rules: { match: string[]; }; useHooks: string[]; }; pluginList: any[]; uid?: string; }; plugins: Record; setOptions: { (plugin: _udecode_plate_core.WithRequiredKey, options: (state: mutative.Draft>>) => void): void; (plugin: _udecode_plate_core.WithRequiredKey, options: Partial<_udecode_plate_core.InferOptions>): void; }; getInjectProps: (plugin: _udecode_plate_core.WithRequiredKey) => _udecode_plate_core.InjectNodeProps; getOption: , TSelectors extends _udecode_plate_core.InferSelectors, K extends keyof StateType | keyof TSelectors | "state">(plugin: _udecode_plate_core.WithRequiredKey, key: K, ...args: K extends keyof TSelectors ? Parameters : []) => K extends "state" ? StateType : K extends keyof TSelectors ? ReturnType : K extends keyof StateType ? StateType[K] : never; getOptions: (plugin: _udecode_plate_core.WithRequiredKey) => _udecode_plate_core.InferOptions; getOptionsStore: (plugin: _udecode_plate_core.WithRequiredKey) => zustand_x.TStateApi<_udecode_plate_core.InferOptions, [["zustand/mutative-x", never]], {}, _udecode_plate_core.InferSelectors>; getPlugin: (plugin: _udecode_plate_core.WithRequiredKey) => C extends { node: any; } ? C : _udecode_plate_core.EditorPlugin; getType: (pluginKey: string) => string; setOption: >(plugin: _udecode_plate_core.WithRequiredKey, optionKey: K, value: _udecode_plate_core.InferOptions[K]) => void; } & { api: _udecode_slate.EditorApi & _udecode_utils.UnionToIntersection<_udecode_plate_core.InferApi<_udecode_plate_core_react.PlateCorePlugin>>; meta: _udecode_plate_core.BaseEditor["meta"] & { pluginList: _udecode_plate_core_react.AnyEditorPlatePlugin[]; shortcuts: _udecode_plate_core_react.Shortcuts; }; plugins: Record; tf: _udecode_slate.EditorTransforms & _udecode_utils.UnionToIntersection<_udecode_plate_core.InferTransforms<_udecode_plate_core_react.PlateCorePlugin>>; transforms: _udecode_slate.EditorTransforms & _udecode_utils.UnionToIntersection<_udecode_plate_core.InferTransforms<_udecode_plate_core_react.PlateCorePlugin>>; getApi: (plugin?: _udecode_plate_core.WithRequiredKey) => _udecode_plate_core_react.PlateEditor["api"] & _udecode_plate_core.InferApi; getPlugin: (plugin: _udecode_plate_core.WithRequiredKey) => C extends { node: any; } ? C : _udecode_plate_core_react.EditorPlatePlugin; getTransforms: (plugin?: _udecode_plate_core.WithRequiredKey) => _udecode_plate_core_react.PlateEditor["tf"] & _udecode_plate_core.InferTransforms; uid?: string; } & { store: _udecode_plate_core_react.PlateStore; }; element: TElement; readOnly: boolean; }; declare const useIndentTodoListElement: (state: ReturnType) => { checkboxProps: { checked: boolean; onCheckedChange: (value: boolean) => void; onMouseDown: (e: any) => void; }; }; declare const useIndentTodoToolBarButtonState: ({ nodeType, }?: { nodeType?: string; }) => { nodeType: string; pressed: boolean; }; declare const useIndentTodoToolBarButton: ({ nodeType, pressed, }: ReturnType) => { props: { pressed: boolean; onClick: () => void; onMouseDown: (e: React.MouseEvent) => void; }; }; export { type IndentListConfig, IndentListPlugin, useIndentListToolbarButton, useIndentListToolbarButtonState, useIndentTodoListElement, useIndentTodoListElementState, useIndentTodoToolBarButton, useIndentTodoToolBarButtonState };