Rocky_Mountain_Vending/.pnpm-store/v10/files/2f/2440c6cf249d207afd895ad6d41f92e3a3558dbb7535dd26b582cf20561f6a3d4d4955842d055dde347bb569e03535d5ef52cd4c6ba8f5dfaa03e197f195fd
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

84 lines
No EOL
3.4 KiB
Text

/**
* @typedef {('DEFAULT'|'AUDITS'|'INSIGHTS')} InsightsExperimentState
*/
export class PerformanceCategoryRenderer extends CategoryRenderer {
/** @type InsightsExperimentState*/
_memoryInsightToggleState: InsightsExperimentState;
/**
* @param {LH.ReportResult.AuditRef} audit
* @return {!Element}
*/
_renderMetric(audit: LH.ReportResult.AuditRef): Element;
/**
* Get a link to the interactive scoring calculator with the metric values.
* @param {LH.ReportResult.AuditRef[]} auditRefs
* @return {string}
*/
_getScoringCalculatorHref(auditRefs: LH.ReportResult.AuditRef[]): string;
/**
* Returns overallImpact and linearImpact for an audit.
* The overallImpact is determined by the audit saving's effect on the overall performance score.
* We use linearImpact to compare audits where their overallImpact is rounded down to 0.
*
* @param {LH.ReportResult.AuditRef} audit
* @param {LH.ReportResult.AuditRef[]} metricAudits
* @return {{overallImpact: number, overallLinearImpact: number}}
*/
overallImpact(audit: LH.ReportResult.AuditRef, metricAudits: LH.ReportResult.AuditRef[]): {
overallImpact: number;
overallLinearImpact: number;
};
/**
* @param {InsightsExperimentState} newState
**/
_persistInsightToggleToStorage(newState: InsightsExperimentState): void;
/**
* @returns {InsightsExperimentState}
**/
_getInsightToggleState(): InsightsExperimentState;
/**
* @returns {InsightsExperimentState}
**/
_getRawInsightToggleState(): InsightsExperimentState;
/**
* @param {HTMLButtonElement} button
**/
_setInsightToggleButtonText(button: HTMLButtonElement): void;
/**
* @param {HTMLElement} element
*/
_renderInsightsToggle(element: HTMLElement): void;
/**
* @param {LH.ReportResult.Category} category
* @param {Object<string, LH.Result.ReportGroup>} groups
* @param {{gatherMode: LH.Result.GatherMode}=} options
* @return {Element}
* @override
*/
override render(category: LH.ReportResult.Category, groups: {
[x: string]: import("../../types/lhr/lhr.js").default.ReportGroup;
}, options?: {
gatherMode: LH.Result.GatherMode;
} | undefined): Element;
/**
* @param {LH.ReportResult.Category} category
* @param {Object<string, LH.Result.ReportGroup>} groups
* @param {string[]} groupNames
* @param {LH.ReportResult.AuditRef[]} metricAudits
* @return {Element|null}
*/
renderFilterableSection(category: LH.ReportResult.Category, groups: {
[x: string]: import("../../types/lhr/lhr.js").default.ReportGroup;
}, groupNames: string[], metricAudits: LH.ReportResult.AuditRef[]): Element | null;
/**
* Render the control to filter the audits by metric. The filtering is done at runtime by CSS only
* @param {LH.ReportResult.AuditRef[]} filterableMetrics
* @param {HTMLDivElement} categoryEl
* @param {(acronym: string) => void} onFilterChange
*/
renderMetricAuditFilter(filterableMetrics: LH.ReportResult.AuditRef[], categoryEl: HTMLDivElement, onFilterChange: (acronym: string) => void): void;
}
export type DOM = import("./dom.js").DOM;
export type InsightsExperimentState = ("DEFAULT" | "AUDITS" | "INSIGHTS");
import { CategoryRenderer } from './category-renderer.js';
//# sourceMappingURL=performance-category-renderer.d.ts.map