/** * The installed package root: the directory above this module (`dist/` when * built, `src/` in a test stage), which holds package.json and `res/`. */ export declare function getProjectRootPath(): string; /** * Configuration interface for the MCP server */ export interface McpServerConfig { /** Server name from package.json */ name: string; /** Server version from package.json */ version: string; /** Server description from package.json */ description: string; /** Logging level (debug, info, warn, error) */ logLevel: string; /** Explicit Fluent project directory for commands when no per-call/session directory exists */ workingDirectory?: string; /** Path to resource directories */ resourcePaths: { /** Path to API specifications */ spec: string; /** Path to code snippets */ snippet: string; /** Path to instructions */ instruct: string; }; /** ServiceNow SDK CLI configuration */ servicenowSdk: { /** * Fallback timeout (ms) for SDK CLI commands that do not declare their own. * Per-command timeouts (e.g. deploy/build) normally supersede this. */ commandTimeoutMs: number; /** * Operator global timeout override (ms) from `FLUENT_MCP_COMMAND_TIMEOUT_MS`. * When set, it wins over every per-command timeout — the escape hatch for * large apps whose deploy/build exceeds the built-in defaults. Undefined * unless the env var is present and a positive integer. */ commandTimeoutOverrideMs?: number; }; } /** * Get the configuration for the MCP server * Loads from environment variables if available, falls back to defaults */ export declare function getConfig(): McpServerConfig; /** * Find configured resource directories that are missing or are not directories. * The server cannot serve specs/snippets/instructions without these, so a * non-empty result is a fatal misconfiguration (broken install, or a bad * FLUENT_MCP_RESOURCE_PATH_* override). * @param config Configuration whose resourcePaths are checked * @returns The resource paths that do not resolve to an existing directory * (empty array when all are present) */ export declare function findMissingResourcePaths(config: McpServerConfig): string[]; //# sourceMappingURL=config.d.ts.map