import { AppConfigService, PluginConfigService, DockerService, FileSystem } from "@wocker/core";
export declare class CronService {
    protected readonly appConfigService: AppConfigService;
    protected readonly pluginConfigService: PluginConfigService;
    protected readonly dockerService: DockerService;
    protected _containerName: string;
    protected oldContainerNames: string[];
    protected _imageName: string;
    protected oldImages: string[];
    constructor(appConfigService: AppConfigService, pluginConfigService: PluginConfigService, dockerService: DockerService);
    get fs(): FileSystem;
    get containerName(): string;
    get imageName(): string;
    start(restart?: boolean, rebuild?: boolean): Promise<void>;
    stop(): Promise<void>;
    build(rebuild?: boolean): Promise<void>;
    edit(containerName: string): Promise<void>;
    getCrontab(containerName: string): Promise<string>;
    setCrontab(containerName: string, crontab: string): Promise<void>;
    logs(): Promise<void>;
}
