import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
 * Get information on a Spaces key for use in other resources. This is useful if the Spaces key in question
 * is not managed by Terraform or you need to utilize any of the key's data.
 *
 * ## Example Usage
 *
 * Get the key by access key ID:
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as digitalocean from "@pulumi/digitalocean";
 *
 * const example = digitalocean.getSpacesKey({
 *     accessKey: "ACCESS_KEY_ID",
 * });
 * export const keyGrants = example.then(example => example.grants);
 * ```
 */
export declare function getSpacesKey(args: GetSpacesKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetSpacesKeyResult>;
/**
 * A collection of arguments for invoking getSpacesKey.
 */
export interface GetSpacesKeyArgs {
    /**
     * The Access Key ID of the Spaces key.
     */
    accessKey: string;
}
/**
 * A collection of values returned by getSpacesKey.
 */
export interface GetSpacesKeyResult {
    /**
     * The access key ID of the Spaces key
     */
    readonly accessKey: string;
    /**
     * The creation time of the Spaces key
     */
    readonly createdAt: string;
    /**
     * The list of grants associated with the Spaces key.
     */
    readonly grants: outputs.GetSpacesKeyGrant[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The name of the Spaces key
     */
    readonly name: string;
}
/**
 * Get information on a Spaces key for use in other resources. This is useful if the Spaces key in question
 * is not managed by Terraform or you need to utilize any of the key's data.
 *
 * ## Example Usage
 *
 * Get the key by access key ID:
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as digitalocean from "@pulumi/digitalocean";
 *
 * const example = digitalocean.getSpacesKey({
 *     accessKey: "ACCESS_KEY_ID",
 * });
 * export const keyGrants = example.then(example => example.grants);
 * ```
 */
export declare function getSpacesKeyOutput(args: GetSpacesKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSpacesKeyResult>;
/**
 * A collection of arguments for invoking getSpacesKey.
 */
export interface GetSpacesKeyOutputArgs {
    /**
     * The Access Key ID of the Spaces key.
     */
    accessKey: pulumi.Input<string>;
}
//# sourceMappingURL=getSpacesKey.d.ts.map