@tricoteuses/senat
Version:
Handle French Sénat's open data
19 lines (18 loc) • 668 B
TypeScript
import { CommandLineOptions } from "command-line-args";
import { Reunion } from "../types/agenda";
import { Candidate, MatchResult, MatchWeights } from "./types";
export declare function matchOneReunion(args: {
agenda: Reunion;
agendaTs: number | null;
timeAmbigious: boolean;
candidates: Candidate[];
weights?: MatchWeights;
options: CommandLineOptions;
fetchDataNvs: (c: Candidate) => Promise<Buffer | null>;
}): Promise<MatchResult | null>;
export declare function matchAgendaToVideo(args: {
agenda: Reunion;
agendaTs: number | null;
candidates: Candidate[];
options: CommandLineOptions;
}): Promise<MatchResult | null>;