import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time";
import { ModelData, Model } from "@kubernetes-models/base";
/**
 * Artifact represents the output of a Source reconciliation.
 */
export interface IArtifact {
    /**
     * Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
     */
    "digest": string;
    /**
     * LastUpdateTime is the timestamp corresponding to the last update of the
     * Artifact.
     */
    "lastUpdateTime": IIoK8sApimachineryPkgApisMetaV1Time;
    /**
     * Metadata holds upstream information such as OCI annotations.
     */
    "metadata"?: {
        [key: string]: string;
    };
    /**
     * Path is the relative file path of the Artifact. It can be used to locate
     * the file in the root of the Artifact storage on the local file system of
     * the controller managing the Source.
     */
    "path": string;
    /**
     * Revision is a human-readable identifier traceable in the origin source
     * system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
     */
    "revision": string;
    /**
     * Size is the number of bytes in the file.
     */
    "size"?: number;
    /**
     * URL is the HTTP address of the Artifact as exposed by the controller
     * managing the Source. It can be used to retrieve the Artifact for
     * consumption, e.g. by another controller applying the Artifact contents.
     */
    "url": string;
}
/**
 * Artifact represents the output of a Source reconciliation.
 */
export declare class Artifact extends Model<IArtifact> implements IArtifact {
    "digest": string;
    "lastUpdateTime": IIoK8sApimachineryPkgApisMetaV1Time;
    "metadata"?: {
        [key: string]: string;
    };
    "path": string;
    "revision": string;
    "size"?: number;
    "url": string;
    constructor(data?: ModelData<IArtifact>);
}
export type { IArtifact as IComGithubFluxcdPkgApisMetaArtifact, Artifact as ComGithubFluxcdPkgApisMetaArtifact };
