import { URL } from 'node:url'; import type { FlutterDriver } from '../driver.js'; import { IsolateSocket } from './isolate_socket.js'; import type { LogEntry } from './log-monitor.js'; export declare const OBSERVATORY_URL_PATTERN: RegExp; /** * Opens an isolate socket for the given Flutter observatory URL. */ export declare function connectSocket(this: FlutterDriver, dartObservatoryURL: string, caps: Record): Promise; /** * Fetches isolate metadata from the connected Flutter VM service. */ export declare function executeGetIsolateCommand(this: FlutterDriver, isolateId: string | number): Promise; /** * Fetches VM metadata from the connected Flutter VM service. */ export declare function executeGetVMCommand(this: FlutterDriver): Promise<{ isolates: [{ name: string; id: number; }]; }>; /** * Executes an element command through the connected Flutter isolate socket. */ export declare function executeElementCommand(this: FlutterDriver, command: string, elementBase64?: string, extraArgs?: {}): Promise; /** * Extracts the Flutter observatory URL from a device log entry. */ export declare function extractObservatoryUrl(logEntry: LogEntry): URL | null; //# sourceMappingURL=observatory.d.ts.map