import { FileAdapter } from "./FileAdapter"; import { CipherKey } from 'crypto'; interface CipheredData { iv: string; tag: string; data: string; } export declare class CipheredFileAdapter extends FileAdapter { private key; constructor(key: CipherKey, filename: string, fsync: boolean); decrypt(data: CipheredData): string; readAsync(): Promise; encrypt(data: string): { iv: string; tag: string; data: string; }; writeAsync(data: string): Promise; } export {};