/** * Grab 100 items with dates from github API * https://api.github.com/users/VEuPathDB/events?per_page=100 */ import { HistogramData } from '../../types/plots'; import { TimeDelta } from '../../types/general'; import * as DateMath from 'date-arithmetic'; declare type EventData = { id: string; date: string; }; export declare const getCreatedDateData: (url: string) => Promise | undefined>; /** * binWidth takes priority over numBins if both are given * (yes it ought to be done more formally than this) */ export declare const binGithubEventDates: ({ url, unit, binWidth, numBins, }: { url: string; unit: DateMath.Unit; binWidth?: TimeDelta | undefined; numBins?: number | undefined; }) => Promise; export {}; //# sourceMappingURL=githubDates.d.ts.map