import { ContextWhich, Location, TimedeltaResolutionType } from "../../core/enums"; import type * as p from "../../core/properties"; import type { Arrayable } from "../../core/types"; import { TickFormatter } from "./tick_formatter"; export type { TimedeltaResolutionType } from "../../core/enums"; export declare const resolution_order: TimedeltaResolutionType[]; export declare const formatting_map: { [template: string]: any; }; export declare function _get_resolution(resolution_secs: number, span_secs: number): TimedeltaResolutionType; export declare function _str_timedelta(t: number, format: string): string; export declare function _days(t: number, factor_next: number | null): string; export declare function _hours(t: number, factor_next: number | null): string; export declare function _minutes(t: number, factor_next: number | null): string; export declare function _seconds(t: number, factor_next: number | null): string; export declare function _ms(t: number, factor_next: number | null): string; export declare function _us(t: number, factor_next: number | null): string; export declare function _ns(t: number, factor_next: number | null): string; export declare namespace TimedeltaTickFormatter { type Attrs = p.AttrsOf; type Props = TickFormatter.Props & { nanoseconds: p.Property; microseconds: p.Property; milliseconds: p.Property; seconds: p.Property; minsec: p.Property; minutes: p.Property; hourmin: p.Property; hours: p.Property; days: p.Property; months: p.Property; years: p.Property; strip_leading_zeros: p.Property>; hide_repeats: p.Property; context: p.Property; context_which: p.Property; context_location: p.Property; }; } export interface TimedeltaTickFormatter extends TimedeltaTickFormatter.Attrs { } export declare class TimedeltaTickFormatter extends TickFormatter { properties: TimedeltaTickFormatter.Props; constructor(attrs?: Partial); doFormat(ticks: number[], _opts: { loc: number; }, _resolution?: TimedeltaResolutionType): string[]; _compute_label(t: number, resolution: TimedeltaResolutionType): string; _compute_context_labels(ticks: number[], resolution: TimedeltaResolutionType): string[]; _build_full_labels(base_labels: string[], context_labels: string[]): string[]; _hide_repeating_labels(labels: string[]): string[]; } //# sourceMappingURL=timedelta_tick_formatter.d.ts.map