import { SVGWidget } from "@hpcc-js/common"; import "../src/Axis.css"; export interface IOverflow { left: number; top: number; right: number; bottom: number; depth: number; tickOverlapModulus: number; } export declare class Axis extends SVGWidget { _origType: any; _origTimePattern: any; protected parser: any; protected parserInvert: any; protected formatter: ((d: Date | any) => string) | null; protected d3Scale: any; protected d3Axis: any; protected d3Guides: any; protected _guideElement: any; protected svg: any; protected svgAxis: any; protected svgGuides: any; protected _tickFormatFunc?: (d: any) => string; constructor(drawStartPosition?: "origin" | "center"); lowValue(): any; highValue(): any; parse(d: any, forceNumeric?: any): any; parseInvert(d: any): any; format(d: any): any; parseFormat(d: any): any; tickFormatFunc(fn: (d: any) => string): this; tickFormatFunc(): ((d: any) => string) | undefined; scalePos(d: any): any; bandwidth(): any; isHorizontal(): boolean; domain(_?: any): any; range(_?: any): any; invert(pos: any): any; guideTarget(_: any): this; enter(domNode: any, element: any): void; protected _prevOrientation: any; updateScale(): this; adjustText(svg: any, tickOverlapModulus: any): void; calcTickOverlapModulus(element: any): number; calcOverflow(element: any, ignoreText?: any): IOverflow; wrap(_text: any, bandSize: any, re: any): void; linebreak(text: any, bandSize: any): void; update(domNode: any, element: any): void; rerender(): void; postUpdate(domNode: any, element: any): void; } export interface Axis { type(): string; type(_: string): this; type_exists(): boolean; timePattern(): string; timePattern(_: string): this; timePattern_exists(): boolean; reverse(): boolean; reverse(_: boolean): this; title(): string; title(_: string): this; title_exists(): boolean; orientation(): string; orientation(_: string): this; orientation_default(): string; orientation_default(_: string): this; powExponent(): number; powExponent(_: number): this; logBase(): number; logBase(_: number): this; ordinals(): string[]; ordinals(_: string[]): this; ordinals_exists(): boolean; fontSize(): number; fontSize(_: number): this; fontSize_exists(): boolean; fontFamily(): string; fontFamily(_: string): this; tickCount(): number; tickCount(_: number): this; tickFormat(): string; tickFormat(_: string): this; tickFormat_exists(): boolean; tickFormat_reset(): void; tickFormatFunc(fn: (d: any) => string): this; tickFormatFunc(): ((d: any) => string) | undefined; tickLength(): number; tickLength(_: number): this; tickLength_exists(): boolean; ticks(): Array<{ value: string; label: string; }>; ticks(_: Array<{ value: string; label: string; }>): this; low(): any; low(_: any): this; low_exists(): boolean; high(): any; high(_: any): this; high_exists(): boolean; overlapMode(): string; overlapMode(_: string): this; overlapMode_default(): string; overlapMode_default(_: string): this; labelRotation(): number; labelRotation(_: number): this; shrinkToFit(): string; shrinkToFit(_: string): this; shrinkToFit_default(): string; shrinkToFit_default(_: string): this; extend(): number; extend(_: number): this; extend_default(): number; extend_default(_: number): this; hidden(): boolean; hidden(_: boolean): this; ordinalPaddingInner(): number; ordinalPaddingInner(_: number): this; ordinalPaddingOuter(): number; ordinalPaddingOuter(_: number): this; ordinalMappings(_: { [key: string]: string; }): this; ordinalMappings(): { [key: string]: string; }; ordinalMappings_exists(): boolean; padding(): number; padding(_: number): this; }