type DaemonServiceInstallArgs = {
    env: Record<string, string | undefined>;
    stdout: NodeJS.WritableStream;
    programArguments: string[];
    workingDirectory?: string;
};
export type DaemonService = {
    label: string;
    loadedText: string;
    notLoadedText: string;
    install: (args: DaemonServiceInstallArgs) => Promise<void>;
    uninstall: (args: {
        env: Record<string, string | undefined>;
        stdout: NodeJS.WritableStream;
    }) => Promise<void>;
    restart: (args: {
        env: Record<string, string | undefined>;
        stdout: NodeJS.WritableStream;
    }) => Promise<void>;
    isLoaded: (args: {
        env: Record<string, string | undefined>;
    }) => Promise<boolean>;
};
export type DaemonProgram = {
    programArguments: string[];
    workingDirectory?: string;
};
export declare function resolveDaemonService(): DaemonService;
export declare function resolveDaemonProgramArguments({ dev, }: {
    dev: boolean;
}): Promise<DaemonProgram>;
export declare function formatProgramArguments(args: string[]): string;
export declare function readInstalledDaemonCommand(env: Record<string, string | undefined>): Promise<DaemonProgram | null>;
export declare function startDetachedContainerDaemon({ env, programArguments, workingDirectory, }: {
    env: Record<string, string | undefined>;
    programArguments: string[];
    workingDirectory?: string;
}): Promise<void>;
export {};
