import { ReactNode } from 'react';
import { TimelineTimeSteps } from '../types/main';
import { Dayjs } from 'dayjs';
import { CustomDateHeaderProps } from './CustomDateHeader';
export interface CustomHeaderProps<Data> {
    children: (p: CustomDateHeaderProps<Data>) => ReactNode;
    unit: keyof TimelineTimeSteps;
    timeSteps: TimelineTimeSteps;
    visibleTimeStart: number;
    visibleTimeEnd: number;
    canvasTimeStart: number;
    canvasTimeEnd: number;
    canvasWidth: number;
    showPeriod: (start: Dayjs, end: Dayjs) => void;
    headerData?: Data;
    getLeftOffsetFromDate: (date: number) => number;
    height: number;
    timelineWidth: number;
}
export type CustomHeaderWrapperProps<Data> = {
    children: (p: CustomDateHeaderProps<Data>) => ReactNode;
    unit?: keyof TimelineTimeSteps;
    headerData?: Data;
    height?: number;
};
declare function CustomHeaderWrapper<Data>({ children, unit, headerData, height, }: CustomHeaderWrapperProps<Data>): import("react/jsx-runtime").JSX.Element;
declare namespace CustomHeaderWrapper {
    var displayName: string;
}
export default CustomHeaderWrapper;
//# sourceMappingURL=CustomHeader.d.ts.map