import React from "react";
interface IProps {
    roomId: string;
    ts: number;
    forExport?: boolean;
}
interface IState {
    contextMenuPosition?: DOMRect;
    jumpToDateEnabled: boolean;
}
/**
 * Timeline separator component to render within a MessagePanel bearing the date of the ts given
 *
 * Has additional jump to date functionality when labs flag is enabled
 */
export default class DateSeparator extends React.Component<IProps, IState> {
    private settingWatcherRef?;
    constructor(props: IProps);
    componentWillUnmount(): void;
    private onContextMenuOpenClick;
    private onContextMenuCloseClick;
    private closeMenu;
    private get relativeTimeFormat();
    private getLabel;
    private pickDate;
    private onBugReport;
    private onLastWeekClicked;
    private onLastMonthClicked;
    private onTheBeginningClicked;
    private onDatePicked;
    private renderJumpToDateMenu;
    render(): React.ReactNode;
}
export {};
