import { I as IOptions, T as TLaunchOptions } from './shared/webstack-screenshot.D3xPHqiW.mjs';
export { S as Screenshot } from './shared/webstack-screenshot.D3xPHqiW.mjs';
import { IncomingMessage, ServerResponse } from 'node:http';
export * from 'puppeteer-core';

declare const args: string[];

declare const DEFAULT_VIEWPORT: {
    width: number;
    height: number;
};

declare function getScreenshot(data: IOptions): Promise<Uint8Array | string>;

declare function startServer(port?: any): void;

declare function serverless(req: IncomingMessage, res: ServerResponse): Promise<void>;

declare function isNumber(value: number): boolean;
declare function isHttp(url: string): boolean;
declare function getLaunch(options?: TLaunchOptions): Promise<TLaunchOptions>;
declare function cache(cache: number | boolean | undefined): string | undefined;

export { DEFAULT_VIEWPORT, IOptions, TLaunchOptions, args, cache, getLaunch, getScreenshot, isHttp, isNumber, serverless, startServer };
