/* * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ import { KanbanProps } from "./types.js"; import "client-only"; import * as react27 from "react"; import * as react_jsx_runtime112 from "react/jsx-runtime"; //#region src/components/kanban/kanban.d.ts /** * Context for sharing active drag state across Kanban components. */ declare const DragContext: react27.Context<{ activeId: string | null; } | null>; /** * Hook to access the active drag state. * Must be used within a Kanban component. * @returns The drag context with activeId. */ declare const useDragContext: () => { activeId: string | null; }; /** * Kanban - Root container for the drag-and-drop kanban board * * Provides DnD context and manages drag state for cards and columns. * Must be wrapped in a KanbanProvider. * * @param props - {@link KanbanProps} * @param props.children - Child components (columns, header, etc.). * @param props.className - Optional CSS class name. * @returns The rendered Kanban component. * * @example * ```tsx * * * ... * ... * * * ``` */ declare function Kanban({ children, className, ...rest }: KanbanProps): react_jsx_runtime112.JSX.Element; //#endregion export { DragContext, Kanban, useDragContext }; //# sourceMappingURL=kanban.d.ts.map