import { ControlPlaneChatSessionPresenter } from '../../server/index.js';
import type { HeddleControlPlaneServerHandle } from '../../server/index.js';
import type { ResolvedRuntimeHost } from '../../core/runtime/daemon/index.js';
export type DaemonCliOptions = {
    workspaceRoot?: string;
    stateDir?: string;
    preferApiKey?: boolean;
    forceOwnerConflict?: boolean;
    runtimeHost?: ResolvedRuntimeHost;
    stdout?: {
        write: (message: string) => unknown;
    };
};
export type DaemonArgs = {
    host: string;
    port: number;
    assetsDir?: string;
    serveAssets: boolean;
};
export { ControlPlaneChatSessionPresenter };
/**
 * Command edge for `heddle daemon`.
 *
 * Owns: terminal daemon argument parsing, live-server attach behavior, CLI
 * notices, and process signal handling for a standalone daemon process.
 *
 * Does not own: reusable HTTP server lifecycle, registry persistence, workspace
 * identity, or heartbeat scheduler semantics. Those belong to `src/server` and
 * `src/core/runtime/daemon`.
 */
export declare class DaemonCliV2CommandEdgeService {
    static run(args: string[], options?: DaemonCliOptions): Promise<{
        kind: 'help';
    } | {
        kind: 'attached';
        host: ResolvedRuntimeHost;
    } | {
        kind: 'started';
        handle: HeddleControlPlaneServerHandle;
    }>;
}
export declare function parseDaemonArgs(args: string[]): DaemonArgs;
export declare function renderDaemonHelp(): string;
//# sourceMappingURL=daemon-command.d.ts.map