Rocky_Mountain_Vending/.pnpm-store/v10/files/0f/eddc59d731f9aa15055c376c493affcaf1c9381277395211786b13fce18ca9bd4ff3a752a3ba3dce510cb39673285579c6da60ab337166f7b98f9b9ab9faf0
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

102 lines
No EOL
3.2 KiB
Text

import { launch } from '@puppeteer/browsers';
import type { Browser, BrowserCloseCallback } from '../api/Browser.js';
import { Connection } from '../cdp/Connection.js';
import type { SupportedBrowser } from '../common/SupportedBrowser.js';
import type { Viewport } from '../common/Viewport.js';
import { type GetIdFn } from '../util/incremental-id-generator.js';
import type { ChromeReleaseChannel, LaunchOptions } from './LaunchOptions.js';
import type { PuppeteerNode } from './PuppeteerNode.js';
/**
* @internal
*/
export interface ResolvedLaunchArgs {
isTempUserDataDir: boolean;
userDataDir: string;
executablePath: string;
args: string[];
}
/**
* Describes a launcher - a class that is able to create and launch a browser instance.
*
* @public
*/
export declare abstract class BrowserLauncher {
#private;
/**
* @internal
*/
puppeteer: PuppeteerNode;
/**
* @internal
*/
constructor(puppeteer: PuppeteerNode, browser: SupportedBrowser);
get browser(): SupportedBrowser;
launch(options?: LaunchOptions): Promise<Browser>;
abstract executablePath(channel?: ChromeReleaseChannel, validatePath?: boolean): string;
abstract defaultArgs(object: LaunchOptions): string[];
/**
* @internal
*/
protected abstract computeLaunchArguments(options: LaunchOptions): Promise<ResolvedLaunchArgs>;
/**
* @internal
*/
protected abstract cleanUserDataDir(path: string, opts: {
isTemp: boolean;
}): Promise<void>;
/**
* @internal
*/
protected closeBrowser(browserProcess: ReturnType<typeof launch>, cdpConnection?: Connection): Promise<void>;
/**
* @internal
*/
protected waitForPageTarget(browser: Browser, timeout: number): Promise<void>;
/**
* @internal
*/
protected createCdpSocketConnection(browserProcess: ReturnType<typeof launch>, opts: {
timeout: number;
protocolTimeout: number | undefined;
slowMo: number;
idGenerator: GetIdFn;
}): Promise<Connection>;
/**
* @internal
*/
protected createCdpPipeConnection(browserProcess: ReturnType<typeof launch>, opts: {
timeout: number;
protocolTimeout: number | undefined;
slowMo: number;
idGenerator: GetIdFn;
}): Promise<Connection>;
/**
* @internal
*/
protected createBiDiOverCdpBrowser(browserProcess: ReturnType<typeof launch>, cdpConnection: Connection, closeCallback: BrowserCloseCallback, opts: {
defaultViewport: Viewport | null;
acceptInsecureCerts?: boolean;
networkEnabled: boolean;
}): Promise<Browser>;
/**
* @internal
*/
protected createBiDiBrowser(browserProcess: ReturnType<typeof launch>, closeCallback: BrowserCloseCallback, opts: {
timeout: number;
protocolTimeout: number | undefined;
slowMo: number;
idGenerator: GetIdFn;
defaultViewport: Viewport | null;
acceptInsecureCerts?: boolean;
networkEnabled?: boolean;
}): Promise<Browser>;
/**
* @internal
*/
protected getProfilePath(): string;
/**
* @internal
*/
resolveExecutablePath(headless?: boolean | 'shell', validatePath?: boolean): string;
}
//# sourceMappingURL=BrowserLauncher.d.ts.map