import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
 * `spacelift.getContexts` represents all the contexts in the Spacelift account visible to the API user.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as spacelift from "@pulumi/spacelift";
 *
 * const contexts = spacelift.getContexts({
 *     labels: [
 *         {
 *             anyOfs: [
 *                 "foo",
 *                 "bar",
 *             ],
 *         },
 *         {
 *             anyOfs: ["baz"],
 *         },
 *     ],
 * });
 * ```
 */
export declare function getContexts(args?: GetContextsArgs, opts?: pulumi.InvokeOptions): Promise<GetContextsResult>;
/**
 * A collection of arguments for invoking getContexts.
 */
export interface GetContextsArgs {
    labels?: inputs.GetContextsLabel[];
}
/**
 * A collection of values returned by getContexts.
 */
export interface GetContextsResult {
    readonly contexts: outputs.GetContextsContext[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * Require contexts to have one of the labels
     */
    readonly labels?: outputs.GetContextsLabel[];
}
/**
 * `spacelift.getContexts` represents all the contexts in the Spacelift account visible to the API user.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as spacelift from "@pulumi/spacelift";
 *
 * const contexts = spacelift.getContexts({
 *     labels: [
 *         {
 *             anyOfs: [
 *                 "foo",
 *                 "bar",
 *             ],
 *         },
 *         {
 *             anyOfs: ["baz"],
 *         },
 *     ],
 * });
 * ```
 */
export declare function getContextsOutput(args?: GetContextsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetContextsResult>;
/**
 * A collection of arguments for invoking getContexts.
 */
export interface GetContextsOutputArgs {
    labels?: pulumi.Input<pulumi.Input<inputs.GetContextsLabelArgs>[]>;
}
