Rocky_Mountain_Vending/.pnpm-store/v10/files/5f/c9a35c9cf00f333883b495ed6478d58d81a9eb4c10cea233c6588078893229ba9566f419830ed4eed2931955cc5e411ac67316b776b66f850be131d55baef0
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
1.2 KiB
Text

import { StackFrame } from '../types-hoist/stackframe';
type WatchdogReturn = {
/** Resets the watchdog timer */
poll: () => void;
/** Enables or disables the watchdog timer */
enabled: (state: boolean) => void;
};
type CreateTimerImpl = () => {
getTimeMs: () => number;
reset: () => void;
};
/**
* A node.js watchdog timer
* @param pollInterval The interval that we expect to get polled at
* @param anrThreshold The threshold for when we consider ANR
* @param callback The callback to call for ANR
* @returns An object with `poll` and `enabled` functions {@link WatchdogReturn}
*/
export declare function watchdogTimer(createTimer: CreateTimerImpl, pollInterval: number, anrThreshold: number, callback: () => void): WatchdogReturn;
interface Location {
scriptId: string;
lineNumber: number;
columnNumber?: number;
}
interface CallFrame {
functionName: string;
location: Location;
url: string;
}
/**
* Converts Debugger.CallFrame to Sentry StackFrame
*/
export declare function callFrameToStackFrame(frame: CallFrame, url: string | undefined, getModuleFromFilename: (filename: string | undefined) => string | undefined): StackFrame;
export {};
//# sourceMappingURL=anr.d.ts.map