import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of kms ciphertexts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const encrypted = volcengine.kms.getCiphertexts({
 *     keyId: "c44870c3-f33b-421a-****-a2bba37c993e",
 *     plaintext: "VGhpcyBpcyBhIHBsYWludGV4dCBleGFtcGxlLg==",
 * });
 * ```
 */
/** @deprecated volcengine.kms.Ciphertexts has been deprecated in favor of volcengine.kms.getCiphertexts */
export declare function ciphertexts(args: CiphertextsArgs, opts?: pulumi.InvokeOptions): Promise<CiphertextsResult>;
/**
 * A collection of arguments for invoking Ciphertexts.
 */
export interface CiphertextsArgs {
    /**
     * The JSON string of key/value pairs.
     */
    encryptionContext?: 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;
    /**
     * The plaintext to be encrypted, Base64 encoded.
     */
    plaintext: string;
}
/**
 * A collection of values returned by Ciphertexts.
 */
export interface CiphertextsResult {
    /**
     * The information about the ciphertext.
     */
    readonly ciphertextInfos: outputs.kms.CiphertextsCiphertextInfo[];
    readonly encryptionContext?: 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;
    readonly plaintext: string;
    /**
     * The total count of query.
     */
    readonly totalCount: number;
}
/**
 * Use this data source to query detailed information of kms ciphertexts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const encrypted = volcengine.kms.getCiphertexts({
 *     keyId: "c44870c3-f33b-421a-****-a2bba37c993e",
 *     plaintext: "VGhpcyBpcyBhIHBsYWludGV4dCBleGFtcGxlLg==",
 * });
 * ```
 */
/** @deprecated volcengine.kms.Ciphertexts has been deprecated in favor of volcengine.kms.getCiphertexts */
export declare function ciphertextsOutput(args: CiphertextsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CiphertextsResult>;
/**
 * A collection of arguments for invoking Ciphertexts.
 */
export interface CiphertextsOutputArgs {
    /**
     * The JSON string of key/value pairs.
     */
    encryptionContext?: 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>;
    /**
     * The plaintext to be encrypted, Base64 encoded.
     */
    plaintext: pulumi.Input<string>;
}
