/* * 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 { GanttMetThresholdData, GanttThreshold, GanttTimeBounds, GanttTimelineChunkObject, GanttTimescale } from "../../types.js"; import * as react54 from "react"; import { PropsWithChildren } from "react"; import * as react_jsx_runtime214 from "react/jsx-runtime"; //#region src/components/gantt/context/temporal-data/index.d.ts type TemporalDataContextValue = { msPerPx: number; renderedRegionBounds: GanttTimeBounds; timescale: GanttTimescale; totalBounds: GanttTimeBounds; timelineChunks: GanttTimelineChunkObject[]; threshold?: GanttThreshold; currentTimeMs: number; onThresholdMet?: (metThresholds: GanttMetThresholdData[]) => void; }; declare const TemporalDataContext: react54.Context; type TemporalDataProviderProps = { timescale: GanttTimescale; totalBounds: GanttTimeBounds; threshold?: GanttThreshold; currentTimeMs: number; onThresholdMet?: (metThresholds: GanttMetThresholdData[]) => void; }; declare function TemporalDataProvider({ children, timescale, totalBounds, threshold, currentTimeMs, onThresholdMet }: PropsWithChildren): react_jsx_runtime214.JSX.Element; declare function useTemporalDataContext(): TemporalDataContextValue; //#endregion export { TemporalDataContext, TemporalDataContextValue, TemporalDataProvider, TemporalDataProviderProps, useTemporalDataContext }; //# sourceMappingURL=index.d.ts.map