import type { ViteDevServer } from 'vite';
import type { AcpManager } from '../../acp/manager.js';
import type { Context } from '../../context.js';
/** Credential write endpoint stays outside the HMR channel and has no read route. */
export declare const AGENT_ENVIRONMENT_PATH = "/__histoire/agents/environment";
/** Mounts write-only local credentials for an exact active development context. */
export declare function registerAgentEnvironment(ctx: Context, server: ViteDevServer, manager: AcpManager, isActive: () => boolean): () => void;
//# sourceMappingURL=agents-env.d.ts.map