Rocky_Mountain_Vending/.pnpm-store/v10/files/ee/5b6652a8356d35cdbd29b4b11dbe495894585a06a8a78249a8920d7cd420dcdf70a98efb5b06a07f5400ee3e258207c5dbaa97f21790bad76e245fe42a55cd
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

20 lines
679 B
Text

/**
* The result of parsing a URL relative to a base URL.
*/
export type RelativeURL = {
/**
* The relative URL. Either a URL including the origin or a relative URL.
*/
url: string;
/**
* Whether the URL is relative to the base URL.
*/
isRelative: boolean;
};
export declare function parseRelativeURL(url: string | URL, base: string | URL): RelativeURL;
/**
* Given a URL as a string and a base URL it will make the URL relative
* if the parsed protocol and host is the same as the one in the base
* URL. Otherwise it returns the same URL string.
*/
export declare function getRelativeURL(url: string | URL, base: string | URL): string;