import { n as TTodoListItemElement } from "../BaseTodoListPlugin-C3ztdXje"; import * as platejs0 from "platejs"; import * as platejs_react0 from "platejs/react"; //#region src/react/ListPlugin.d.ts declare const BulletedListPlugin: platejs_react0.PlatePlugin void; }>, {}>>; declare const TaskListPlugin: platejs_react0.PlatePlugin void; }>, {}>>; declare const NumberedListPlugin: platejs_react0.PlatePlugin void; }>, {}>>; declare const ListItemContentPlugin: platejs_react0.PlatePlugin>; declare const ListItemPlugin: platejs_react0.PlatePlugin>; /** * Enables support for bulleted, numbered and to-do lists with React-specific * features. */ declare const ListPlugin: platejs_react0.PlatePlugin boolean) & (() => boolean); list: ((args_0: { type: string; }) => boolean) & ((args_0: { type: string; }) => boolean); numberedList: (() => boolean) & (() => boolean); taskList: ((defaultChecked?: boolean | undefined) => boolean) & ((defaultChecked?: boolean | undefined) => boolean); }; }, {}>>; //#endregion //#region src/react/TodoListPlugin.d.ts declare const TodoListPlugin: platejs_react0.PlatePlugin void; }>, {}>>; //#endregion //#region src/react/hooks/useListToolbarButton.d.ts declare const useListToolbarButtonState: ({ nodeType }?: { nodeType?: string | undefined; }) => { nodeType: string; pressed: boolean; }; declare const useListToolbarButton: (state: ReturnType) => { props: { pressed: boolean; onClick: () => void; onMouseDown: (e: React.MouseEvent) => void; }; }; //#endregion //#region src/react/hooks/useTodoListElement.d.ts declare const useTodoListElementState: ({ element }: { element: TTodoListItemElement; }) => any; declare const useTodoListElement: (state: ReturnType) => { checkboxProps: { checked: boolean; onCheckedChange: (value: boolean) => void; }; }; //#endregion export { BulletedListPlugin, ListItemContentPlugin, ListItemPlugin, ListPlugin, NumberedListPlugin, TaskListPlugin, TodoListPlugin, useListToolbarButton, useListToolbarButtonState, useTodoListElement, useTodoListElementState };