import { RCLIArgInfo, RCLIArgType, RCLIParamInfo } from "@ibgib/helper-gib/dist/rcli/rcli-types.mjs"; import { GenericEncryptionStrengthSetting } from "./rcli-types.mjs"; import { AlphabetIndexingMode, BaseArgs, EncryptResult, HashAlgorithm, BlockModeOptions, SaltStrategy } from '../types.mjs'; export declare function extractArg_dataToEncrypt({ argInfos, }: { argInfos: RCLIArgInfo[]; }): Promise; export declare function extractArg_strength({ argInfos }: { argInfos: RCLIArgInfo[]; }): GenericEncryptionStrengthSetting; export declare function extractArg_outputPath({ argInfos, }: { argInfos: RCLIArgInfo[]; }): Promise; export declare function extractArg_dataPath({ argInfos, }: { argInfos: RCLIArgInfo[]; }): Promise; export declare function extractArg_salt({ argInfos, }: { argInfos: RCLIArgInfo[]; }): string | undefined; export declare function extractArg_indexingMode({ argInfos, }: { argInfos: RCLIArgInfo[]; }): AlphabetIndexingMode | undefined; export declare function extractArg_blockMode({ argInfos, }: { argInfos: RCLIArgInfo[]; }): BlockModeOptions | undefined; export declare function extractArg_hashAlgorithm({ argInfos, }: { argInfos: RCLIArgInfo[]; }): HashAlgorithm | undefined; export declare function extractArg_saltStrategy({ argInfos, }: { argInfos: RCLIArgInfo[]; }): SaltStrategy | undefined; export declare function extractArg_initialRecursions({ argInfos, }: { argInfos: RCLIArgInfo[]; }): number | undefined; export declare function extractArg_recursionsPerHash({ argInfos, }: { argInfos: RCLIArgInfo[]; }): number | undefined; /** * extracts the arg value(s) from the given `argInfos` that correspond to the * given `paramInfo`. * * @returns the arg.value corresponding to the given `paramInfo` */ export declare function extractArgValue({ paramInfo, argInfos, throwIfNotFound, }: { paramInfo: RCLIParamInfo; argInfos: RCLIArgInfo[]; throwIfNotFound?: boolean; }): T | T[] | undefined; export declare function validateEncryptedFile(encryptResults: EncryptResult): Promise; export declare function getBaseArgsSet({ secret, salt, strength, indexingMode, blockMode, hashAlgorithm, saltStrategy, initialRecursions, recursionsPerHash, }: { secret: string; salt: string | undefined; strength: GenericEncryptionStrengthSetting; indexingMode: AlphabetIndexingMode | undefined; blockMode: BlockModeOptions | undefined; hashAlgorithm: HashAlgorithm | undefined; saltStrategy: SaltStrategy | undefined; initialRecursions: number | undefined; recursionsPerHash: number | undefined; }): Promise; /** * gets the paramInfo corresponding to the given argIdentifier * @returns paramInfo from given `paramInfos` */ export declare function getParamInfo({ argIdentifier, paramInfos }: { /** * arg identifier is either a name or a synonym. atow only a name. */ argIdentifier: string; /** * All possible param infos that the given arg identifier could be. * * I have this separate as I plan to pull this out into a separate lib * (maybe helper-gib). */ paramInfos: RCLIParamInfo[]; }): RCLIParamInfo; //# sourceMappingURL=rcli-helper.d.mts.map