import { StormWorkspaceConfigInput } from '@storm-software/config';
import { LoadConfigOptions, ResolvedConfig } from 'c12';

/**
 * Get the config file for the current Storm workspace
 *
 * @param fileName - The name of the config file to search for
 * @param filePath - The path to search for the config file in
 * @returns The config file for the current Storm workspace
 */
declare const getConfigFileByName: (fileName: string, filePath?: string, options?: LoadConfigOptions<Partial<StormWorkspaceConfigInput>>) => Promise<ResolvedConfig<Partial<StormWorkspaceConfigInput>>>;
/**
 * Get the config file for the current Storm workspace
 *
 * @returns The config file for the current Storm workspace
 */
declare const getConfigFile: (filePath?: string, additionalFileNames?: string[]) => Promise<Partial<StormWorkspaceConfigInput> | undefined>;

export { getConfigFile, getConfigFileByName };
