/**
 * A REPL whose input is `wdio session exec` against an already running
 * session. `.exit` detaches and leaves the browser up (RFC §12.1).
 *
 * Piped stdin delivers `.exit` before an async `eval` callback runs, and
 * the process exits with the callback. Hold the close until every in-flight
 * `exec` has printed.
 */
export declare function attachRepl(name: string, opts?: {
    input?: NodeJS.ReadableStream;
    output?: NodeJS.WritableStream;
}): Promise<void>;
//# sourceMappingURL=replSession.d.ts.map