import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Get information about Artifact Registry versions.
 * See [the official documentation](https://cloud.google.com/artifact-registry/docs/overview)
 * and [API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.packages.versions/list).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const myVersions = gcp.artifactregistry.getVersions({
 *     location: "us-central1",
 *     repositoryId: "example-repo",
 *     packageName: "example-package",
 * });
 * ```
 */
export declare function getVersions(args: GetVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetVersionsResult>;
/**
 * A collection of arguments for invoking getVersions.
 */
export interface GetVersionsArgs {
    /**
     * An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are `name` and `version`. Further information can be found in the [REST API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.packages.versions/list#query-parameters).
     */
    filter?: string;
    /**
     * The location of the artifact registry.
     */
    location: string;
    /**
     * The name of the package.
     */
    packageName: string;
    /**
     * The project ID in which the resource belongs. If it is not provided, the provider project is used.
     */
    project?: string;
    /**
     * The last part of the repository name to fetch from.
     */
    repositoryId: string;
    /**
     * The view, which determines what version information is returned in a response. Possible values are `"BASIC"` and `"FULL"`. Defaults to `"BASIC"`.
     */
    view?: string;
}
/**
 * A collection of values returned by getVersions.
 */
export interface GetVersionsResult {
    readonly filter?: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly location: string;
    readonly packageName: string;
    readonly project?: string;
    readonly repositoryId: string;
    /**
     * A list of all retrieved Artifact Registry versions. Structure is defined below.
     */
    readonly versions: outputs.artifactregistry.GetVersionsVersion[];
    readonly view?: string;
}
/**
 * Get information about Artifact Registry versions.
 * See [the official documentation](https://cloud.google.com/artifact-registry/docs/overview)
 * and [API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.packages.versions/list).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const myVersions = gcp.artifactregistry.getVersions({
 *     location: "us-central1",
 *     repositoryId: "example-repo",
 *     packageName: "example-package",
 * });
 * ```
 */
export declare function getVersionsOutput(args: GetVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVersionsResult>;
/**
 * A collection of arguments for invoking getVersions.
 */
export interface GetVersionsOutputArgs {
    /**
     * An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are `name` and `version`. Further information can be found in the [REST API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.packages.versions/list#query-parameters).
     */
    filter?: pulumi.Input<string | undefined>;
    /**
     * The location of the artifact registry.
     */
    location: pulumi.Input<string>;
    /**
     * The name of the package.
     */
    packageName: pulumi.Input<string>;
    /**
     * The project ID in which the resource belongs. If it is not provided, the provider project is used.
     */
    project?: pulumi.Input<string | undefined>;
    /**
     * The last part of the repository name to fetch from.
     */
    repositoryId: pulumi.Input<string>;
    /**
     * The view, which determines what version information is returned in a response. Possible values are `"BASIC"` and `"FULL"`. Defaults to `"BASIC"`.
     */
    view?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getVersions.d.ts.map