mirror of
https://github.com/hanzoskill/plan2meal.git
synced 2026-10-30 21:08:44 +00:00
20 lines
477 B
TypeScript
20 lines
477 B
TypeScript
/**
|
|
* Utility Functions for Plan2Meal
|
|
*/
|
|
/**
|
|
* Escape markdown special characters
|
|
*/
|
|
export declare function markdownEscape(text: string): string;
|
|
/**
|
|
* Generate random state string for OAuth
|
|
*/
|
|
export declare function generateState(): string;
|
|
/**
|
|
* Validate URL
|
|
*/
|
|
export declare function isValidUrl(url: string): boolean;
|
|
/**
|
|
* Parse recipe URL and extract domain
|
|
*/
|
|
export declare function getDomainFromUrl(url: string): string;
|
|
//# sourceMappingURL=utils.d.ts.map
|