Rocky_Mountain_Vending/.pnpm-store/v10/files/18/07a8454aa2ea5baf9c02b48bcc37008ce4eefeaa767a9403c2912795025706f12f557b12cbc01084e50a538a5b5abbc22a9bdf2445874ad4eb823a1b70cf3d
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

45 lines
2 KiB
Text

import type * as Protocol from '../../../generated/protocol.js';
import * as Types from '../types/types.js';
import { ScoreClassification } from './PageLoadMetricsHandler.js';
import type { HandlerName } from './types.js';
interface LayoutShifts {
clusters: readonly Types.Events.SyntheticLayoutShiftCluster[];
clustersByNavigationId: Map<Types.Events.NavigationId, Types.Events.SyntheticLayoutShiftCluster[]>;
sessionMaxScore: number;
clsWindowID: number;
prePaintEvents: Types.Events.PrePaint[];
paintImageEvents: Types.Events.PaintImage[];
layoutInvalidationEvents: readonly Types.Events.LayoutInvalidationTracking[];
scheduleStyleInvalidationEvents: readonly Types.Events.ScheduleStyleInvalidationTracking[];
styleRecalcInvalidationEvents: readonly Types.Events.StyleRecalcInvalidationTracking[];
renderFrameImplCreateChildFrameEvents: readonly Types.Events.RenderFrameImplCreateChildFrame[];
domLoadingEvents: readonly Types.Events.DomLoading[];
layoutImageUnsizedEvents: readonly Types.Events.LayoutImageUnsized[];
remoteFonts: readonly RemoteFont[];
scoreRecords: readonly ScoreRecord[];
backendNodeIds: Protocol.DOM.BackendNodeId[];
}
interface RemoteFont {
display: string;
url?: string;
name?: string;
beginRemoteFontLoadEvent: Types.Events.BeginRemoteFontLoad;
}
export declare const MAX_CLUSTER_DURATION: Types.Timing.Micro;
export declare const MAX_SHIFT_TIME_DELTA: Types.Timing.Micro;
interface ScoreRecord {
ts: number;
score: number;
}
export declare function reset(): void;
export declare function handleEvent(event: Types.Events.Event): void;
export declare function finalize(): Promise<void>;
export declare function data(): LayoutShifts;
export declare function deps(): HandlerName[];
export declare function scoreClassificationForLayoutShift(score: number): ScoreClassification;
export declare enum LayoutShiftsThreshold {
GOOD = 0,
NEEDS_IMPROVEMENT = 0.1,
BAD = 0.25
}
export {};