UNPKG

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