import { GenericRouteGenerator, GenericUrlCategorizer, IUrlCategorizer, UrlCategory } from '../generic/routes'; import { VowelRoute } from '../../types'; /** * Shopify URL Categorizer * Recognizes Shopify-specific URL patterns (products, collections, etc.) */ export declare class ShopifyUrlCategorizer extends GenericUrlCategorizer implements IUrlCategorizer { /** * Categorize a URL based on Shopify patterns * Falls back to generic categorization for non-Shopify URLs * * @param url - URL to categorize * @returns Category information */ categorizeUrl(url: string): UrlCategory; /** * Get Shopify-specific common pages * * @returns Common Shopify pages mapping */ protected getShopifyCommonPages(): Record; /** * Extract product description from URL path * * @param pathname - URL path * @returns Human-readable description */ private extractProductDescription; /** * Extract collection description from URL path * * @param pathname - URL path * @returns Human-readable description */ private extractCollectionDescription; /** * Extract Shopify page description from URL path * * @param pathname - URL path * @returns Human-readable description */ private extractShopifyPageDescription; /** * Extract Shopify blog post description from URL path * * @param pathname - URL path * @returns Human-readable description */ private extractShopifyBlogDescription; } /** * Shopify Route Generator * Extends generic route generator with Shopify-specific features * * @example * ```ts * const generator = new ShopifyRouteGenerator(); * const routes = await generator.generateRoutes('https://mystore.com'); * console.log(`Generated ${routes.length} routes`); * ``` */ export declare class ShopifyRouteGenerator extends GenericRouteGenerator { constructor(); /** * Get Shopify-specific hardcoded routes * These routes are guaranteed to be included regardless of sitemap parsing * * @returns Hardcoded Shopify routes */ protected getHardcodedRoutes(): VowelRoute[]; /** * Get Shopify-specific fallback routes * Used when sitemap parsing fails * * @returns Basic Shopify routes */ protected getFallbackRoutes(): VowelRoute[]; } //# sourceMappingURL=routes.d.ts.map