import { StormWorkspaceConfig } from '@storm-software/config';
import { DeepPartial } from '../types.js';

/**
 * Get the config for an extension module of Storm workspace from environment variables
 *
 * @param extensionName - The name of the extension module
 * @returns The config for the specified Storm extension module. If the module does not exist, `undefined` is returned.
 */
declare const getExtensionEnv: <TConfig extends Record<string, any> = Record<string, any>>(extensionName: string) => TConfig | undefined;
/**
 * Get the config for the current Storm workspace
 *
 * @returns The config for the current Storm workspace from environment variables
 */
declare const getConfigEnv: () => DeepPartial<StormWorkspaceConfig>;

export { getConfigEnv, getExtensionEnv };
