import type { InternalServerContext, ServerContext } from '../types/server/context'; import type { ServerPlugin, ServerPluginExtends } from '../types/server/plugin'; import type { ServerCreateOptions } from './run/types'; interface ContextParams { serverContext: ServerContext; config: Extends['config']; } export declare function initServerContext(params: { options: ServerCreateOptions; plugins: ServerPlugin[]; }): ServerContext & Extends['extendContext']; export declare function createServerContext({ serverContext, config, }: ContextParams): InternalServerContext; export {};