import * as puppeteer from 'puppeteer';
import { PuppeteerAgent } from './puppeteer.js';
import { MidsceneYamlScriptWebEnv } from '@midscene_spp/core';
import './agent.js';
import './page-1e107f16.js';
import 'playwright';
import '@midscene_spp/shared/extractor';
import '@midscene_spp/shared/logger';
import '@midscene_spp/shared/constants';
import '@midscene_spp/core/ai-model';
import '@midscene_spp/shared/env';

declare const defaultUA = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36";
declare const defaultViewportWidth = 1440;
declare const defaultViewportHeight = 768;
declare const defaultViewportScale: number;
declare const defaultWaitForNetworkIdleTimeout = 2000;
interface FreeFn {
    name: string;
    fn: () => void;
}
declare function launchPuppeteerPage(target: MidsceneYamlScriptWebEnv, preference?: {
    headed?: boolean;
    keepWindow?: boolean;
}): Promise<{
    page: puppeteer.Page;
    freeFn: FreeFn[];
}>;
declare function puppeteerAgentForTarget(target: MidsceneYamlScriptWebEnv, preference?: {
    headed?: boolean;
    keepWindow?: boolean;
    testId?: string;
    cacheId?: string;
}): Promise<{
    agent: PuppeteerAgent;
    freeFn: FreeFn[];
}>;

export { defaultUA, defaultViewportHeight, defaultViewportScale, defaultViewportWidth, defaultWaitForNetworkIdleTimeout, launchPuppeteerPage, puppeteerAgentForTarget };
