import { PluginSchema } from '../../schema';
import { PluginBuilder } from '../PluginBuilder';
/**
 * @see https://github.com/seek-oss/docker-ecr-cache-buildkite-plugin
 */
export declare class DockerECRCachePlugin implements PluginBuilder {
    #private;
    static PLUGIN: string;
    /**
     * @deprecated Use .addCacheOn() instead
     */
    cacheOn(glob: string): this;
    addCacheOn(glob: string): this;
    /**
     * @deprecated Use .setDockerfile() instead
     */
    dockerfile(file: string): this;
    setDockerfile(file: string): this;
    /**
     * @deprecated Use .setTarget() instead
     */
    target(target: string): this;
    setTarget(target: string): this;
    /**
     * @deprecated Use .setSecret() instead
     */
    secret(secret: string): this;
    setSecret(secret: string): this;
    /**
     * @deprecated Use .addBuildArg() instead
     */
    buildArg(arg: string): this;
    addBuildArg(arg: string): this;
    /**
     * @deprecated Use .setMaxAgeDays() instead
     */
    maxAgeDay(days: number): this;
    setMaxAgeDays(days: number): this;
    /**
     * @deprecated Use .setRegion() instead
     */
    region(region: string): this;
    setRegion(region: string): this;
    /**
     * @deprecated Use .setECRName() instead
     */
    ecrName(name: string): this;
    setECRName(name: string): this;
    build(): PluginSchema | Promise<PluginSchema>;
}
