import { Config } from './config'; import type { Api, DeprecatedInRawConfig, ImportedPlugin, FlatRawConfig, RawConfig, RawResolveConfig, ResolveConfig, ResolvedStyleguideConfig, RulesFields, Plugin, PluginCreator } from './types'; export declare function parsePresetName(presetName: string): { pluginId: string; configName: string; }; export declare function transformApiDefinitionsToApis(apiDefinitions?: DeprecatedInRawConfig['apiDefinitions']): Record | undefined; export declare function prefixRules>(rules: T, prefix: string): any; export declare function mergeExtends(rulesConfList: ResolvedStyleguideConfig[]): Omit & Required>; export declare function getMergedConfig(config: Config, apiName?: string): Config; export declare function checkForDeprecatedFields(deprecatedField: keyof (DeprecatedInRawConfig & RawConfig), updatedField: keyof FlatRawConfig | undefined, rawConfig: DeprecatedInRawConfig & RawConfig & FlatRawConfig, updatedObject: keyof FlatRawConfig | undefined, link?: string | undefined): void; export declare function transformConfig(rawConfig: DeprecatedInRawConfig & RawConfig & FlatRawConfig): RawConfig; export declare function getResolveConfig(resolve?: RawResolveConfig): ResolveConfig; export declare function getUniquePlugins(plugins: Plugin[]): Plugin[]; export declare class ConfigValidationError extends Error { } export declare function deepCloneMapWithJSON(originalMap: Map): Map; export declare function isDeprecatedPluginFormat(plugin: ImportedPlugin | undefined): plugin is Plugin; export declare function isCommonJsPlugin(plugin: ImportedPlugin | undefined): plugin is PluginCreator;