import type { RedoclyConfig } from '@redocly/config'; type ConfigFileRef = { path: string; env: Record; }; /** * The store config file of a build output, and the env values that resolve its placeholders in a * worker. `env` has no variable that the worker env excludes: those placeholders stay unresolved. * Main process only: `config` is the store config that was loaded from the file. */ export type StoreConfigFile = ConfigFileRef & { config: RedoclyConfig; }; /** The config as it crosses to a worker: the config file entries, overridden by `entries`. */ export type WorkerConfig = { file: ConfigFileRef; entries: Partial; } | { file?: undefined; entries: RedoclyConfig; }; /** * Sends only the top-level entries of `config` that are not the same values as in the config file. * Without a config file (`develop`), sends all of `config`. */ export declare function toWorkerConfig(config: RedoclyConfig, configFile: StoreConfigFile | undefined): WorkerConfig; /** * Worker side. Returns a config that the call owns: a change to it, at any depth, is not seen by * other calls. Throws when the config file cannot be read. */ export declare function readWorkerConfig(workerConfig: WorkerConfig): RedoclyConfig; export {}; //# sourceMappingURL=worker-config.d.ts.map