Rocky_Mountain_Vending/.pnpm-store/v10/files/ae/f61bb15116f04e9a2d6cb1fbdbc7f9a2a45d608d809d626c86872b6cea946874f6c82e6f01e4e0cb6fb8e7e0c12655088d3214c185ed3484c6c3b3853ca457
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

35 lines
2.2 KiB
Text

import type * as Handlers from '../handlers/handlers.js';
import type * as Types from '../types/types.js';
import { type InsightModel, type InsightSetContext } from './types.js';
export declare const UIStrings: {
/**
* @description Title of an insight that identifies polyfills for modern JavaScript features, and recommends their removal.
*/
readonly title: "Legacy JavaScript";
/**
* @description Description of an insight that identifies polyfills for modern JavaScript features, and recommends their removal.
*/
readonly description: "Polyfills and transforms enable older browsers to use new JavaScript features. However, many aren't necessary for modern browsers. Consider modifying your JavaScript build process to not transpile [Baseline](https://web.dev/articles/baseline-and-polyfills) features, unless you know you must support older browsers. [Learn why most sites can deploy ES6+ code without transpiling](https://philipwalton.com/articles/the-state-of-es5-on-the-web/)";
/** Label for a column in a data table; entries will be the individual JavaScript scripts. */
readonly columnScript: "Script";
/** Label for a column in a data table; entries will be the number of wasted bytes (aka the estimated savings in terms of bytes). */
readonly columnWastedBytes: "Wasted bytes";
};
export declare const i18nString: (id: string, values?: Record<string, string> | undefined) => Record<string, string>;
export interface PatternMatchResult {
name: string;
line: number;
column: number;
}
interface LegacyJavaScriptResult {
matches: PatternMatchResult[];
estimatedByteSavings: number;
}
type LegacyJavaScriptResults = Map<Handlers.ModelHandlers.Scripts.Script, LegacyJavaScriptResult>;
export type LegacyJavaScriptInsightModel = InsightModel<typeof UIStrings, {
legacyJavaScriptResults: LegacyJavaScriptResults;
}>;
export declare function isLegacyJavaScript(model: InsightModel): model is LegacyJavaScriptInsightModel;
export declare function generateInsight(parsedTrace: Handlers.Types.ParsedTrace, context: InsightSetContext): LegacyJavaScriptInsightModel;
export declare function createOverlays(model: LegacyJavaScriptInsightModel): Types.Overlays.Overlay[];
export {};