import { ParsingContext } from "../ParsingContext.js"; import { DateRangePart } from "../Types.js"; type CustomDateSyntaxPriority = "first" | "last" | "only"; type CustomDateSyntaxRule = { name?: string; pattern?: unknown; from?: unknown; fromFormat?: unknown; to?: unknown; toFormat?: unknown; duration?: unknown; }; type CompiledCustomDateSyntaxRule = CustomDateSyntaxRule & { pattern: string; regex: RegExp; }; export type CompiledCustomDateSyntax = { priority: CustomDateSyntaxPriority; rules: CompiledCustomDateSyntaxRule[]; }; export declare function getCustomDateSyntax(context: ParsingContext): CompiledCustomDateSyntax | undefined; export declare function customDateSyntaxPriority(context: ParsingContext): CustomDateSyntaxPriority; export declare function isCustomDateSyntaxEventStart(line: string, context: ParsingContext): boolean; export declare function getDateRangeFromCustomDateSyntaxMatch(line: string, i: number, lengthAtIndex: number[], context: ParsingContext): DateRangePart | undefined; export {};