Files
dotfiles/local_ai/.config/mcp/web-search-mcp/dist/utils.d.ts
T
2026-04-10 23:00:16 +02:00

13 lines
658 B
TypeScript

/**
* Utility functions for the web search MCP server
*/
export declare function cleanText(text: string, maxLength?: number): string;
export declare function getWordCount(text: string): number;
export declare function getContentPreview(text: string, maxLength?: number): string;
export declare function generateTimestamp(): string;
export declare function validateUrl(url: string): boolean;
export declare function sanitizeQuery(query: string): string;
export declare function getRandomUserAgent(): string;
export declare function delay(ms: number): Promise<void>;
export declare function isPdfUrl(url: string): boolean;
//# sourceMappingURL=utils.d.ts.map