import type { CreateNodeAgentServiceRuntimeInfrastructureOptions } from "../service/node-runtime-infrastructure.js"; /** A path option that is either a string path or a URL. */ export type AgentServicePathOption = string | URL; export declare const DEFAULT_AGENT_SERVICE_NAME = "veryfront-agent-service"; /** Converts a path option (string or URL) to a string path. */ export declare function pathOptionToPath(pathOption: AgentServicePathOption): string; /** Resolves the base directory from baseDir or entrypointUrl options. */ export declare function resolveBaseDir(options: { baseDir?: AgentServicePathOption; entrypointUrl?: AgentServicePathOption; }): string; /** Resolves the project directory from options, walking up for a discovery root. */ export declare function resolveProjectDir(options: { baseDir?: AgentServicePathOption; entrypointUrl?: AgentServicePathOption; projectDir?: string; }): string; /** Reads the `name` field from the nearest package.json or deno.json, or null. */ export declare function readProjectManifestName(projectDir: string): string | null; type ServiceNameOptions = { serviceName?: string; baseDir?: AgentServicePathOption; entrypointUrl?: AgentServicePathOption; projectDir?: string; env?: CreateNodeAgentServiceRuntimeInfrastructureOptions["env"]; processTarget?: { env?: CreateNodeAgentServiceRuntimeInfrastructureOptions["env"]; }; }; /** Resolves the service name from options, env, or project manifest. */ export declare function resolveServiceName(options: ServiceNameOptions): string; /** Returns the default process target if `process` is available in the runtime. */ export declare function resolveDefaultProcessTarget(): any; /** Resolves the environment record from explicit env, processTarget.env, or the process env. */ export declare function resolveEnvironment(options: { env?: CreateNodeAgentServiceRuntimeInfrastructureOptions["env"]; processTarget?: { env?: CreateNodeAgentServiceRuntimeInfrastructureOptions["env"]; }; }): CreateNodeAgentServiceRuntimeInfrastructureOptions["env"]; export {}; //# sourceMappingURL=cloud-agent-paths.d.ts.map