@camunda8/sdk
Version:
[](https://www.npmjs.com/package/@camunda8/sdk)
13 lines (12 loc) • 473 B
TypeScript
export type EnvironmentStorage = Record<string, string | undefined>;
declare function wipeEnv(): void;
/** Store all env vars, then wipe them in the environment */
declare function storeEnv(): EnvironmentStorage;
/** Restore all env vars, and wipe storage */
declare function restoreEnv(storage: EnvironmentStorage): void;
export declare const EnvironmentSetup: {
wipeEnv: typeof wipeEnv;
storeEnv: typeof storeEnv;
restoreEnv: typeof restoreEnv;
};
export {};