We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Thinh-nguyen-03/virtual-assistant-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { DateTime } from 'luxon';
export interface TimeConfig {
defaultTz: string;
workHoursStart: string;
workHoursEnd: string;
workDays: string[];
}
export interface TimeSlot {
start_iso: string;
end_iso: string;
}
export interface WorkHours {
start: DateTime;
end: DateTime;
}
export declare function parseWorkHours(start: string, end: string, tz: string): WorkHours;
export declare function isWorkday(date: DateTime, workDays: string[]): boolean;
export declare function clampToWorkHours(dateTime: DateTime, config: TimeConfig): DateTime;
export declare function parseIsoWithTz(isoString: string, tz: string): DateTime;
export declare function toIsoString(dateTime: DateTime): string;
export declare function getNextWorkdayStart(config: TimeConfig, fromDate?: DateTime): DateTime;
export declare function isWithinWorkHours(start: DateTime, end: DateTime, config: TimeConfig): boolean;
export declare function generateWorkHourSlots(windowStart: DateTime, windowEnd: DateTime, durationMinutes: number, config: TimeConfig): TimeSlot[];
export declare function parseRelativeTime(input: string, tz: string, now?: DateTime): {
start: DateTime;
end: DateTime;
didAssumeDate: boolean;
didAssumeDuration: boolean;
};
export declare function validateDuration(start: DateTime, end: DateTime, minMinutes?: number, maxMinutes?: number): boolean;
//# sourceMappingURL=time.d.ts.map