import { ForwardRefExoticComponent, HTMLAttributes, RefAttributes } from "react"; import { TableHandleColumnMenuRootElement, TableHandleColumnMenuRootProps as TableHandleColumnMenuRootProps$1, TableHandleColumnMenuTriggerElement, TableHandleColumnMenuTriggerProps as TableHandleColumnMenuTriggerProps$1, TableHandleColumnPopupElement, TableHandleColumnPositionerElement, TableHandleColumnPositionerProps as TableHandleColumnPositionerProps$1, TableHandleDragPreviewElement, TableHandleDragPreviewProps as TableHandleDragPreviewProps$1, TableHandleDropIndicatorElement, TableHandleDropIndicatorProps as TableHandleDropIndicatorProps$1, TableHandleRootElement, TableHandleRootProps as TableHandleRootProps$1, TableHandleRowMenuRootElement, TableHandleRowMenuRootProps as TableHandleRowMenuRootProps$1, TableHandleRowMenuTriggerElement, TableHandleRowMenuTriggerProps as TableHandleRowMenuTriggerProps$1, TableHandleRowPopupElement, TableHandleRowPositionerElement, TableHandleRowPositionerProps as TableHandleRowPositionerProps$1 } from "@prosekit/web/table-handle"; /** Props for the {@link TableHandleColumnPopup} React component. */ interface TableHandleColumnPopupProps {} /** A React component that renders an `prosekit-table-handle-column-popup` custom element. */ export declare const TableHandleColumnPopup: ForwardRefExoticComponent & RefAttributes>; /** Props for the {@link TableHandleColumnPositioner} React component. */ interface TableHandleColumnPositionerProps { /** * The placement of the popover, relative to the hovered table cell. * * @default "top" */ placement?: TableHandleColumnPositionerProps$1['placement']; /** * The strategy to use for positioning * * @default "absolute" */ strategy?: TableHandleColumnPositionerProps$1['strategy']; /** * Options to activate auto-update listeners * * @see https://floating-ui.com/docs/autoUpdate * * @default true */ autoUpdate?: TableHandleColumnPositionerProps$1['autoUpdate']; /** * Whether to use the browser [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API) * to place the floating element on top of other page content. * * @default false */ hoist?: TableHandleColumnPositionerProps$1['hoist']; /** * @default 0 * @hidden */ offset?: TableHandleColumnPositionerProps$1['offset']; /** * @default false * @hidden */ flip?: TableHandleColumnPositionerProps$1['flip']; /** * @default false * @hidden */ shift?: TableHandleColumnPositionerProps$1['shift']; /** * Whether the floating element can overlap the reference element to keep it * in view. * * @default false */ overlap?: TableHandleColumnPositionerProps$1['overlap']; /** * Whether to constrain the floating element's width and height to not exceed * the viewport. * * @default false */ fitViewport?: TableHandleColumnPositionerProps$1['fitViewport']; /** * Whether to constrain the floating element's width so that it matches the * reference element. * * @default false */ sameWidth?: TableHandleColumnPositionerProps$1['sameWidth']; /** * Whether to constrain the floating element's height so that it matches the * reference element. * * @default false */ sameHeight?: TableHandleColumnPositionerProps$1['sameHeight']; /** * Whether to improve positioning for inline reference elements that span over * multiple lines. * * @default false */ inline?: TableHandleColumnPositionerProps$1['inline']; /** * @default true * @hidden */ hide?: TableHandleColumnPositionerProps$1['hide']; /** * Describes the clipping element(s) or area that overflow will be checked relative to. * Please see https://floating-ui.com/docs/detectoverflow#boundary for more information. * * @default 'clippingAncestors' */ boundary?: TableHandleColumnPositionerProps$1['boundary']; /** * Describes the root boundary that the element will be checked for overflow relative to. * Please see https://floating-ui.com/docs/detectoverflow#rootboundary for more information. * * @default 'viewport' */ rootBoundary?: TableHandleColumnPositionerProps$1['rootBoundary']; /** * Describes the virtual padding around the boundary to check for overflow. * Please see https://floating-ui.com/docs/detectoverflow#padding for more information. * * @default 4 */ overflowPadding?: TableHandleColumnPositionerProps$1['overflowPadding']; /** * The element that will be used to check for overflow. Please see * https://floating-ui.com/docs/detectoverflow#elementcontext for more * information. * * @default 'floating' */ elementContext?: TableHandleColumnPositionerProps$1['elementContext']; /** * Whether to check the alternate elementContext's boundary. Please see * https://floating-ui.com/docs/detectoverflow#altboundary for more * information. * * @default false */ altBoundary?: TableHandleColumnPositionerProps$1['altBoundary']; /** * The ProseKit editor instance. * * @default null * @hidden */ editor?: TableHandleColumnPositionerProps$1['editor']; } /** A React component that renders an `prosekit-table-handle-column-positioner` custom element. */ export declare const TableHandleColumnPositioner: ForwardRefExoticComponent & RefAttributes>; /** Props for the {@link TableHandleColumnMenuRoot} React component. */ interface TableHandleColumnMenuRootProps { /** * Whether the overlay is initially open. * @default false */ defaultOpen?: TableHandleColumnMenuRootProps$1['defaultOpen']; /** * Whether the overlay is currently open. * @default null */ open?: TableHandleColumnMenuRootProps$1['open']; /** * Whether the component should ignore user interaction. * @default false */ disabled?: TableHandleColumnMenuRootProps$1['disabled']; } /** A React component that renders an `prosekit-table-handle-column-menu-root` custom element. */ export declare const TableHandleColumnMenuRoot: ForwardRefExoticComponent & RefAttributes>; /** Props for the {@link TableHandleColumnMenuTrigger} React component. */ interface TableHandleColumnMenuTriggerProps { /** * @default null * @hidden */ editor?: TableHandleColumnMenuTriggerProps$1['editor']; } /** A React component that renders an `prosekit-table-handle-column-menu-trigger` custom element. */ export declare const TableHandleColumnMenuTrigger: ForwardRefExoticComponent & RefAttributes>; /** Props for the {@link TableHandleDragPreview} React component. */ interface TableHandleDragPreviewProps { /** * @default null * @hidden */ editor?: TableHandleDragPreviewProps$1['editor']; } /** A React component that renders an `prosekit-table-handle-drag-preview` custom element. */ export declare const TableHandleDragPreview: ForwardRefExoticComponent & RefAttributes>; /** Props for the {@link TableHandleDropIndicator} React component. */ interface TableHandleDropIndicatorProps { /** * @default null * @hidden */ editor?: TableHandleDropIndicatorProps$1['editor']; } /** A React component that renders an `prosekit-table-handle-drop-indicator` custom element. */ export declare const TableHandleDropIndicator: ForwardRefExoticComponent & RefAttributes>; /** Props for the {@link TableHandleRoot} React component. */ interface TableHandleRootProps { /** * The ProseKit editor instance. * * @default null * @hidden */ editor?: TableHandleRootProps$1['editor']; } /** A React component that renders an `prosekit-table-handle-root` custom element. */ export declare const TableHandleRoot: ForwardRefExoticComponent & RefAttributes>; /** Props for the {@link TableHandleRowPopup} React component. */ interface TableHandleRowPopupProps {} /** A React component that renders an `prosekit-table-handle-row-popup` custom element. */ export declare const TableHandleRowPopup: ForwardRefExoticComponent & RefAttributes>; /** Props for the {@link TableHandleRowPositioner} React component. */ interface TableHandleRowPositionerProps { /** * The placement of the popover, relative to the hovered table cell. * * @default "left" */ placement?: TableHandleRowPositionerProps$1['placement']; /** * The strategy to use for positioning * * @default "absolute" */ strategy?: TableHandleRowPositionerProps$1['strategy']; /** * Options to activate auto-update listeners * * @see https://floating-ui.com/docs/autoUpdate * * @default true */ autoUpdate?: TableHandleRowPositionerProps$1['autoUpdate']; /** * Whether to use the browser [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API) * to place the floating element on top of other page content. * * @default false */ hoist?: TableHandleRowPositionerProps$1['hoist']; /** * @default 0 * @hidden */ offset?: TableHandleRowPositionerProps$1['offset']; /** * @default false * @hidden */ flip?: TableHandleRowPositionerProps$1['flip']; /** * @default false * @hidden */ shift?: TableHandleRowPositionerProps$1['shift']; /** * Whether the floating element can overlap the reference element to keep it * in view. * * @default false */ overlap?: TableHandleRowPositionerProps$1['overlap']; /** * Whether to constrain the floating element's width and height to not exceed * the viewport. * * @default false */ fitViewport?: TableHandleRowPositionerProps$1['fitViewport']; /** * Whether to constrain the floating element's width so that it matches the * reference element. * * @default false */ sameWidth?: TableHandleRowPositionerProps$1['sameWidth']; /** * Whether to constrain the floating element's height so that it matches the * reference element. * * @default false */ sameHeight?: TableHandleRowPositionerProps$1['sameHeight']; /** * Whether to improve positioning for inline reference elements that span over * multiple lines. * * @default false */ inline?: TableHandleRowPositionerProps$1['inline']; /** * @default true * @hidden */ hide?: TableHandleRowPositionerProps$1['hide']; /** * Describes the clipping element(s) or area that overflow will be checked relative to. * Please see https://floating-ui.com/docs/detectoverflow#boundary for more information. * * @default 'clippingAncestors' */ boundary?: TableHandleRowPositionerProps$1['boundary']; /** * Describes the root boundary that the element will be checked for overflow relative to. * Please see https://floating-ui.com/docs/detectoverflow#rootboundary for more information. * * @default 'viewport' */ rootBoundary?: TableHandleRowPositionerProps$1['rootBoundary']; /** * Describes the virtual padding around the boundary to check for overflow. * Please see https://floating-ui.com/docs/detectoverflow#padding for more information. * * @default 4 */ overflowPadding?: TableHandleRowPositionerProps$1['overflowPadding']; /** * The element that will be used to check for overflow. Please see * https://floating-ui.com/docs/detectoverflow#elementcontext for more * information. * * @default 'floating' */ elementContext?: TableHandleRowPositionerProps$1['elementContext']; /** * Whether to check the alternate elementContext's boundary. Please see * https://floating-ui.com/docs/detectoverflow#altboundary for more * information. * * @default false */ altBoundary?: TableHandleRowPositionerProps$1['altBoundary']; /** * The ProseKit editor instance. * * @default null * @hidden */ editor?: TableHandleRowPositionerProps$1['editor']; } /** A React component that renders an `prosekit-table-handle-row-positioner` custom element. */ export declare const TableHandleRowPositioner: ForwardRefExoticComponent & RefAttributes>; /** Props for the {@link TableHandleRowMenuRoot} React component. */ interface TableHandleRowMenuRootProps { /** * Whether the overlay is initially open. * @default false */ defaultOpen?: TableHandleRowMenuRootProps$1['defaultOpen']; /** * Whether the overlay is currently open. * @default null */ open?: TableHandleRowMenuRootProps$1['open']; /** * Whether the component should ignore user interaction. * @default false */ disabled?: TableHandleRowMenuRootProps$1['disabled']; } /** A React component that renders an `prosekit-table-handle-row-menu-root` custom element. */ export declare const TableHandleRowMenuRoot: ForwardRefExoticComponent & RefAttributes>; /** Props for the {@link TableHandleRowMenuTrigger} React component. */ interface TableHandleRowMenuTriggerProps { /** * @default null * @hidden */ editor?: TableHandleRowMenuTriggerProps$1['editor']; } /** A React component that renders an `prosekit-table-handle-row-menu-trigger` custom element. */ export declare const TableHandleRowMenuTrigger: ForwardRefExoticComponent & RefAttributes>; export type { TableHandleColumnMenuRootProps, TableHandleColumnMenuTriggerProps, TableHandleColumnPopupProps, TableHandleColumnPositionerProps, TableHandleDragPreviewProps, TableHandleDropIndicatorProps, TableHandleRootProps, TableHandleRowMenuRootProps, TableHandleRowMenuTriggerProps, TableHandleRowPopupProps, TableHandleRowPositionerProps }; //# sourceMappingURL=table-handle.d.ts.map