aoc-automation
Version:
Advent of Code tool to automate the repetitive parts of AoC.
10 lines (9 loc) • 490 B
TypeScript
declare enum Status {
SOLVED = 0,
WRONG = 1,
ERROR = 2
}
declare const getPuzzleInfo: (year: number, day: number) => Promise<(string | null)[]>;
declare const getInput: (year: number, day: number, inputFilePath: string, dayIndexFilePath: string, puzzleInfo: (string | null)[]) => Promise<void>;
declare const sendSolution: (year: number, day: number, part: 1 | 2, solution: number | string) => Promise<Status>;
export { getInput, getPuzzleInfo, sendSolution, Status };