import type { HeddleControlPlaneServerHandle, HeddleControlPlaneServerOptions } from './types.js';
/**
 * Owns the reusable control-plane HTTP server lifecycle.
 *
 * CLI commands and embedded hosts decide when to start or stop a server; this
 * owner starts the shared Express app, records the live server, keeps scheduler
 * state in sync, and cleans up only this server's registry record on close.
 */
export declare function startHeddleControlPlaneServer(options: HeddleControlPlaneServerOptions): Promise<HeddleControlPlaneServerHandle>;
export declare function resolveDefaultAssetsDir(input?: {
    moduleDir?: string;
    env?: Pick<NodeJS.ProcessEnv, 'HEDDLE_WEB_DIST'>;
}): string;
//# sourceMappingURL=lifecycle.d.ts.map