import type { Page } from 'puppeteer-core'; import type { EnvInfo, KeyboardOptions, KeyOrHotKeyInput, ActionResult } from '../types'; import type { TabDialog } from '../tabs/dialog'; export declare class Keyboard { #private; constructor(page: Page, dialog: TabDialog, env: EnvInfo); /** * Enhance puppeteer's [keyboard.press()](https://pptr.dev/api/puppeteer.keyboard.press) to support combination hotkeys. */ press(key: KeyOrHotKeyInput, options?: KeyboardOptions): Promise; /** * Enhance puppeteer's [keyboard.down()](https://pptr.dev/api/puppeteer.keyboard.down) to support combination hotkeys. */ down(key: KeyOrHotKeyInput, options?: KeyboardOptions): Promise; /** * Enhance puppeteer's [keyboard.up()](https://pptr.dev/api/puppeteer.keyboard.up) to support combination hotkeys. */ up(key: KeyOrHotKeyInput): Promise; type(text: string, options?: KeyboardOptions): Promise; } //# sourceMappingURL=keyboard.d.ts.map