import type { CliRuntimeConfiguration } from "../../main.ts";
/** The host's side of one loopless worker isolate (senpi#5413): start it in a cwd, then close it. */
export interface LooplessWorker {
    readonly exited: Promise<void>;
    start(configuration: CliRuntimeConfiguration, cwd: string): Promise<readonly string[]>;
    /** Asks the isolate to dispose its runtime; past `graceMs` the isolate is terminated. Settles once it exited. */
    close(graceMs: number): Promise<void>;
}
export declare function startLooplessWorker(): LooplessWorker;
//# sourceMappingURL=loopless-worker-client.d.ts.map