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==",
 * });
 * ```
 */
export declare function getCiphertexts(args: GetCiphertextsArgs, opts?: pulumi.InvokeOptions): Promise<GetCiphertextsResult>;
/**
 * A collection of arguments for invoking getCiphertexts.
 */
export interface GetCiphertextsArgs {
    /**
     * 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 getCiphertexts.
 */
export interface GetCiphertextsResult {
    /**
     * The information about the ciphertext.
     */
    readonly ciphertextInfos: outputs.kms.GetCiphertextsCiphertextInfo[];
    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==",
 * });
 * ```
 */
export declare function getCiphertextsOutput(args: GetCiphertextsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCiphertextsResult>;
/**
 * A collection of arguments for invoking getCiphertexts.
 */
export interface GetCiphertextsOutputArgs {
    /**
     * 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>;
}
