import { BaseApi } from "../base-api"; import type { ApiRecords } from "../types"; import type { CreateEncryptionMaterialRequest, DataEncryptionMaterial, DecryptedDataEncryptionMaterial, UpdateEncryptionMaterialRequest } from "./types"; export declare class EncryptionMaterialApi extends BaseApi { /** * Get all accessible encryption materials */ getEncryptionMaterials(): Promise>; /** * Get decrypted encryption materials. Unlike the other endpoints on this * API, the response carries the raw (base64-encoded) key material rather * than the display/tagging metadata. */ getDecryptedEncryptionMaterials(): Promise>; /** * Get an encryption material by ID */ getEncryptionMaterial(id: string): Promise; /** * Create a new encryption material */ createEncryptionMaterial(request: CreateEncryptionMaterialRequest): Promise; /** * Update an existing encryption material */ updateEncryptionMaterial(id: string, request: UpdateEncryptionMaterialRequest): Promise; /** * Archive (delete) an encryption material */ archiveEncryptionMaterial(id: string): Promise; }