import type { Candidate } from "./parser-types"; export type CandidateWithSuggestion = Candidate & { suggestionText: string; }; export interface CandidateFactory { createPoint(args: { date: Date; suggestionText: string; confidence: number; source: Candidate["source"]; id?: string; }): CandidateWithSuggestion; createRange(args: { startDate: Date; endDate: Date; suggestionText: string; confidence: number; source: Candidate["source"]; }): CandidateWithSuggestion; } export declare function createCandidateFactory(timeZone: string): CandidateFactory; export declare function startOfMinute(inputDate: Date): Date; export declare function getCanonicalValue(candidate: Candidate | null): string | null;