import { z } from 'zod'; import type { AiSdkTool } from '../tools/Tool.js'; export interface DateParserOptions { referenceDate?: Date; forwardDate?: boolean; timezones?: Record; } export interface ParsedDateResult { date?: Date; text: string; confidence: number; start: number; end: number; } declare const dateParserInputSchema: z.ZodObject<{ text: z.ZodString; referenceDate: z.ZodOptional; timezone: z.ZodOptional; }, z.core.$strip>; type DateParserInput = z.infer; type DateParserOutput = { success: true; input: string; parsed: { date: string; text: string; confidence: number; start: number; end: number; }; startDate: string | undefined; endDate: string | undefined; } | { success: false; error: string; text: string; }; export declare function createDateParser(options?: DateParserOptions): AiSdkTool; export declare function parseDate(text: string, options?: DateParserOptions): { date?: Date; text: string; confidence: number; } | null; export declare function parseDateRange(text: string, options?: DateParserOptions): { start?: Date; end?: Date; text: string; } | null; export declare function formatDateForSpeech(date: Date): string; export declare function formatTimeForSpeech(date: Date): string; export declare const commonDateExpressions: readonly ["tomorrow", "next Friday", "this weekend", "March 15th", "in 3 days", "last week", "next month", "today at 3pm", "tomorrow morning", "Friday afternoon"]; export declare const dateParser: AiSdkTool; export {};