///
///
import API, { Meta } from "@encore.dev/sidecar-api";
import { ApiRoute } from "./http/types.js";
import type { Runtime } from "./jsruntime.js";
export type { Runtime } from "./jsruntime.js";
export { Version } from "./conf/version.js";
export declare function initRuntime(runtime: Runtime): Promise;
/**
* Returns the API client for the sidecar
*/
export declare function api(): API;
/**
* Returns the runtime config
*/
export declare function config(): Meta.SimpleConfig;
export declare function listenURL(): URL | undefined;
/**
* Starts serving the applications API
*/
export declare function serve(apiRoutes: ApiRoute[]): void;