UNPKG

410 BTypeScriptView Raw
1export interface DecryptCLIOptions {
2 dir: string[];
3 file?: string;
4 encKey: string;
5 del?: boolean;
6 jsonMode?: boolean;
7}
8/**
9 * Decrypts all files in given directory (*.enc), saves decrypted versions without ending `.enc`.
10 * Using provided encKey.
11 */
12export declare function secretsDecrypt(dir: string[], file: string | undefined, encKey: string, del?: boolean, jsonMode?: boolean): void;