You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
567 B

4 months ago
import type { Interval } from './types';
/**
* Date
* @param time
* @param interval
* @returns
*/
export declare function labelFormatter(time: number): string;
export declare function labelFormatter(time: Date, interval: Interval): string;
export declare function parseByTime(time: Date, interval: Interval): string;
/**
* 1, 2, 3
* @param time
* @param interval
*/
export declare function parseBySeries(time: number): string;