import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of kms asymmetric plaintexts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const encryptStable = new volcengine.kms.AsymmetricCiphertext("encryptStable", {
 *     keyId: "9601e1af-ad69-42df-****-eaf10ce6a3e9",
 *     plaintext: "VGhpcyBpcyBhIHBsYWludGV4dCBleGFtcGxLg==",
 *     algorithm: "RSAES_OAEP_SHA_256",
 * });
 * const decrypt = pulumi.all([encryptStable.keyId, encryptStable.ciphertextBlob]).apply(([keyId, ciphertextBlob]) => volcengine.kms.getAsymmetricPlaintextsOutput({
 *     keyId: keyId,
 *     ciphertextBlob: ciphertextBlob,
 *     algorithm: "RSAES_OAEP_SHA_256",
 * }));
 * ```
 */
export declare function getAsymmetricPlaintexts(args: GetAsymmetricPlaintextsArgs, opts?: pulumi.InvokeOptions): Promise<GetAsymmetricPlaintextsResult>;
/**
 * A collection of arguments for invoking getAsymmetricPlaintexts.
 */
export interface GetAsymmetricPlaintextsArgs {
    /**
     * The encryption algorithm. valid values: `RSAES_OAEP_SHA_256`, `SM2PKE`.
     */
    algorithm: string;
    /**
     * The ciphertext to be decrypted, Base64 encoded.
     */
    ciphertextBlob: string;
    /**
     * The id of the key. When keyId is not specified, both keyringName and keyName must be specified.
     */
    keyId?: string;
    /**
     * The name of the key.
     */
    keyName?: string;
    /**
     * The name of the keyring.
     */
    keyringName?: string;
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
}
/**
 * A collection of values returned by getAsymmetricPlaintexts.
 */
export interface GetAsymmetricPlaintextsResult {
    readonly algorithm: string;
    readonly ciphertextBlob: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly keyId?: string;
    readonly keyName?: string;
    readonly keyringName?: string;
    readonly outputFile?: string;
    /**
     * The decrypted plaintext.
     */
    readonly plaintextInfos: outputs.kms.GetAsymmetricPlaintextsPlaintextInfo[];
    /**
     * The total count of query.
     */
    readonly totalCount: number;
}
/**
 * Use this data source to query detailed information of kms asymmetric plaintexts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const encryptStable = new volcengine.kms.AsymmetricCiphertext("encryptStable", {
 *     keyId: "9601e1af-ad69-42df-****-eaf10ce6a3e9",
 *     plaintext: "VGhpcyBpcyBhIHBsYWludGV4dCBleGFtcGxLg==",
 *     algorithm: "RSAES_OAEP_SHA_256",
 * });
 * const decrypt = pulumi.all([encryptStable.keyId, encryptStable.ciphertextBlob]).apply(([keyId, ciphertextBlob]) => volcengine.kms.getAsymmetricPlaintextsOutput({
 *     keyId: keyId,
 *     ciphertextBlob: ciphertextBlob,
 *     algorithm: "RSAES_OAEP_SHA_256",
 * }));
 * ```
 */
export declare function getAsymmetricPlaintextsOutput(args: GetAsymmetricPlaintextsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAsymmetricPlaintextsResult>;
/**
 * A collection of arguments for invoking getAsymmetricPlaintexts.
 */
export interface GetAsymmetricPlaintextsOutputArgs {
    /**
     * The encryption algorithm. valid values: `RSAES_OAEP_SHA_256`, `SM2PKE`.
     */
    algorithm: pulumi.Input<string>;
    /**
     * The ciphertext to be decrypted, Base64 encoded.
     */
    ciphertextBlob: pulumi.Input<string>;
    /**
     * The id of the key. When keyId is not specified, both keyringName and keyName must be specified.
     */
    keyId?: pulumi.Input<string>;
    /**
     * The name of the key.
     */
    keyName?: pulumi.Input<string>;
    /**
     * The name of the keyring.
     */
    keyringName?: pulumi.Input<string>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
}
