import type { ExtractionSourceSpan } from "./source-span.js"; export declare const DATE_DECISION_EXTRACTION_METHODS: readonly ["PRECISED_DATE", "HEADER_CONTEXT", "FULL_TEXT_FALLBACK"]; export type DateDecisionMethod = (typeof DATE_DECISION_EXTRACTION_METHODS)[number]; export type DecisionDateReadingContext = { /** Texte source de même longueur ; seuls ses LF peuvent devenir des espaces dans le texte lu. */ source_text: string; }; export declare function extractAllDates(text: string | null | undefined): string[]; export declare function extractPrecisedDate(text: string | null | undefined): { value: string; method: DateDecisionMethod; } | null; export declare function extractDecisionDate(text: string | null | undefined): { value: string | null; method: DateDecisionMethod | null; }; export declare function locateDecisionDate(text: string | null | undefined, context?: DecisionDateReadingContext): { value: string | null; method: DateDecisionMethod | null; source_span: ExtractionSourceSpan | null; }; //# sourceMappingURL=date.d.ts.map