@ssa-ui-kit/widgets
Version:
SSA UI Kit widgets
43 lines (42 loc) • 945 B
TypeScript
import { OptionType } from './types';
declare const mockDataLoad: {
getData(timePeriodId: string): Promise<{
id: string;
data: {
x: Date;
y: number;
comp: number;
unit?: string;
}[];
}[]>;
getOptions(): Promise<OptionType[]>;
};
export declare const mockStaticApi: {
getData(timePeriodId: "d" | "m" | "w"): Promise<({
data: {
comp: number;
unit: string;
x: Date;
y: number;
}[];
id: string;
} | {
data: {
comp: number;
unit: string;
x: Date;
y: number;
}[];
id: string;
} | {
data: {
comp: number;
unit: string;
x: Date;
y: number;
}[];
id: string;
})[]>;
getOptions(): Promise<OptionType[]>;
};
export default mockDataLoad;