import { CosmosMode } from 'react-cosmos-core';
import { CosmosConfig } from '../cosmosConfig/types.js';
import { CosmosPlatform, CosmosServerPlugin } from '../cosmosPlugin/types.js';
type Args = {
    config: CosmosConfig;
    serverPlugins: CosmosServerPlugin[];
    mode: CosmosMode;
    platform: CosmosPlatform;
};
export declare function applyServerConfigPlugins({ config, serverPlugins, mode, platform, }: Args): Promise<CosmosConfig>;
export {};
