import type { CDPSession } from 'puppeteer';
import type { Page } from 'puppeteer';
import { PlaygroundPlatformDescriptor } from '@midscene/playground';

/**
 * Controls browser window state (minimize/restore) during task execution
 * to avoid interference between the playground UI and desktop automation.
 */
export declare class BrowserWindowController {
    private session;
    private page;
    private windowId;
    constructor(session: CDPSession, page: Page, windowId: number);
    minimize(): Promise<void>;
    restore(): Promise<void>;
}

export declare interface ComputerPlatformOptions {
    staticDir?: string;
    getWindowController?: () => BrowserWindowController | null;
}

export declare const computerPlaygroundPlatform: PlaygroundPlatformDescriptor<ComputerPlatformOptions | undefined>;

export { }
