persona-community-5/.pnpm-store/v3/files/f3/a1f4349f6f222ad71ffb4c5296aee9f539c1dc04a845197ad9f1752667594de4fc24b0f83167d063e08e5192b41591a7d2959959b8704164edde7ab44893f0
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

20 lines
1.7 KiB
Plaintext

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<string, Api> | undefined;
export declare function prefixRules<T extends Record<string, any>>(rules: T, prefix: string): any;
export declare function mergeExtends(rulesConfList: ResolvedStyleguideConfig[]): Omit<ResolvedStyleguideConfig, RulesFields> & Required<Pick<ResolvedStyleguideConfig, RulesFields>>;
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<K, V>(originalMap: Map<K, V>): Map<K, V>;
export declare function isDeprecatedPluginFormat(plugin: ImportedPlugin | undefined): plugin is Plugin;
export declare function isCommonJsPlugin(plugin: ImportedPlugin | undefined): plugin is PluginCreator;