import { ChildProcess } from "child_process";
import type { Service } from "@specific/config";
import type { DatabaseInstance } from "./database-manager.js";
export interface RunningService {
    name: string;
    port: number | undefined;
    process: ChildProcess;
    stop(): Promise<void>;
}
export interface LogLine {
    service: string;
    text: string;
    stream: "stdout" | "stderr";
}
export declare function startService(service: Service, databases: Map<string, DatabaseInstance>, secrets: Map<string, string>, port: number | undefined, onLog: (line: LogLine) => void): RunningService;
//# sourceMappingURL=service-runner.d.ts.map