persona-community-5/.pnpm-store/v3/files/fd/24f2542b11f3cf46d762debb9d0fb22936b795a23fc7a8f20516f079ac2de512bdbb99e1070c22bb2cf951b0335ff725e33d48021bbbfbb40cb3fec9c16982
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

39 lines
1.4 KiB
Plaintext

import { BaseResolver } from '../resolve';
import type { Config } from './config';
import type { Document, ResolvedRefMap } from '../resolve';
import type { RegionalTokenWithValidity } from '../redocly/redocly-client-types';
import type { RawConfig, RawUniversalConfig, Region } from './types';
export type RawConfigProcessor = (params: {
document: Document;
resolvedRefMap: ResolvedRefMap;
config: Config;
parsed: Document['parsed'];
}) => void | Promise<void>;
export declare function loadConfig(options?: {
configPath?: string;
customExtends?: string[];
processRawConfig?: RawConfigProcessor;
externalRefResolver?: BaseResolver;
files?: string[];
region?: Region;
}): Promise<Config>;
export declare const CONFIG_FILE_NAMES: string[];
export declare function findConfig(dir?: string): string | undefined;
export declare function getConfig(options?: {
configPath?: string;
externalRefResolver?: BaseResolver;
}): Promise<{
rawConfig: RawConfig;
document?: Document;
parsed?: Document['parsed'];
resolvedRefMap?: ResolvedRefMap;
}>;
type CreateConfigOptions = {
extends?: string[];
tokens?: RegionalTokenWithValidity[];
configPath?: string;
externalRefResolver?: BaseResolver;
};
export declare function createConfig(config: string | RawUniversalConfig, options?: CreateConfigOptions): Promise<Config>;
export {};