Rocky_Mountain_Vending/.pnpm-store/v10/files/c1/f9adce36ac2dfa9e9027ad392a36bc50baefbea02d02eec00471340dd4b612bb1652f1fcfc9f97396c16672c616f65de179f3b4270446c902aa2667b4480ca
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

69 lines
No EOL
2.2 KiB
Text

export { UnusedJavascriptSummaryComputed as UnusedJavascriptSummary };
export type WasteData = {
unusedByIndex: Uint8Array;
unusedLength: number;
contentLength: number;
};
export type ComputeInput = {
scriptId: string;
scriptCoverage: Omit<LH.Crdp.Profiler.ScriptCoverage, "url">;
bundle: LH.Artifacts.Bundle | null;
};
export type Summary = {
scriptId: string;
wastedBytes: number;
totalBytes: number;
wastedPercent?: number | undefined;
/**
* Keyed by file name. Includes (unmapped) key too.
*/
sourcesWastedBytes?: Record<string, number> | undefined;
};
declare const UnusedJavascriptSummaryComputed: typeof UnusedJavascriptSummary & {
request: (dependencies: ComputeInput, context: LH.Artifacts.ComputedContext) => Promise<Summary>;
};
/**
* @typedef WasteData
* @property {Uint8Array} unusedByIndex
* @property {number} unusedLength
* @property {number} contentLength
*/
/**
* @typedef ComputeInput
* @property {string} scriptId
* @property {Omit<LH.Crdp.Profiler.ScriptCoverage, 'url'>} scriptCoverage
* @property {LH.Artifacts.Bundle|null} bundle
*/
/**
* @typedef Summary
* @property {string} scriptId
* @property {number} wastedBytes
* @property {number} totalBytes
* @property {number} wastedBytes
* @property {number=} wastedPercent
* @property {Record<string, number>=} sourcesWastedBytes Keyed by file name. Includes (unmapped) key too.
*/
declare class UnusedJavascriptSummary {
/**
* @param {Omit<LH.Crdp.Profiler.ScriptCoverage, 'url'>} scriptCoverage
* @return {WasteData}
*/
static computeWaste(scriptCoverage: Omit<LH.Crdp.Profiler.ScriptCoverage, "url">): WasteData;
/**
* @param {string} scriptId
* @param {WasteData} wasteData
* @return {Summary}
*/
static createItem(scriptId: string, wasteData: WasteData): Summary;
/**
* @param {WasteData} wasteData
* @param {LH.Artifacts.Bundle} bundle
*/
static createSourceWastedBytes(wasteData: WasteData, bundle: LH.Artifacts.Bundle): Record<string, number> | undefined;
/**
* @param {ComputeInput} data
* @return {Promise<Summary>}
*/
static compute_(data: ComputeInput): Promise<Summary>;
}
//# sourceMappingURL=unused-javascript-summary.d.ts.map