import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env/types/plugin"; //#region src/types/plugin.d.ts interface CryptoPluginOptions { /** * The application specific secret used for encrypting and decrypting data. * * @remarks * If not provided, the plugin will attempt to read the key from the `SALT` environment variable. */ salt?: string; /** * The encryption key used for encrypting and decrypting data. * * @remarks * If not provided, the plugin will attempt to read the key from the `ENCRYPTION_KEY` environment variable. */ encryptionKey?: string; /** * Options for the Env plugin. */ env?: EnvPluginOptions; } interface CryptoPluginUserConfig extends EnvPluginUserConfig { /** * Options for the Crypto plugin. */ crypto?: Omit; } interface CryptoPluginResolvedConfig extends EnvPluginResolvedConfig { /** * Options for the Crypto plugin. */ crypto: Required>; } type CryptoPluginContext = EnvPluginContext; //#endregion export { CryptoPluginContext, CryptoPluginOptions, CryptoPluginResolvedConfig, CryptoPluginUserConfig }; //# sourceMappingURL=plugin.d.cts.map