type TodoMetadata = Record; export interface ParsedTodoLine { readonly raw: string; readonly completed: boolean; readonly completionDate?: string; readonly priority?: string; readonly creationDate?: string; readonly title: string; readonly projects: readonly string[]; readonly contexts: readonly string[]; readonly metadata: TodoMetadata; /** True when the final meaningful whitespace-delimited token is a `status:X` field. */ readonly isStatusFinalToken: boolean; } export declare const DATE_RE: RegExp; /** Local datetime threshold form for `t:`, seconds optional. */ export declare const DATETIME_RE: RegExp; export declare function hashLine(raw: string): string; export declare function parseAllLines(fileContent: string): Array; export declare function getMetadataFirst(parsed: ParsedTodoLine, key: string): string | undefined; export declare function getMetadataAll(parsed: ParsedTodoLine, key: string): string[]; export {}; //# sourceMappingURL=parser.d.ts.map