import { type LoadedConfig } from "@db-lyon/flowkit"; import { type FlowConfig } from "./schema.js"; import type { ToolDef } from "../types.js"; /** * Build the defaults object from tool definitions. * This is the runtime equivalent of scripts/generate-default-config.ts. */ export declare function buildDefaults(tools: ToolDef[]): Record; /** * Plugin-contributed tasks and flows to merge into the defaults layer. The * user's own ue-mcp.yml continues to win — plugins sit between built-ins and * user config in the layered order, so a user can always override. */ export interface PluginContribution { tasks?: Record; flows?: Record; } /** * Load ue-mcp.yml from the given directory, layered on top of built-in defaults. * Returns the merged config even if no project ue-mcp.yml exists. * * Layer order (lowest precedence first): * built-in defaults * plugin contributions * ue-mcp.yml * ue-mcp.{env}.yml * ue-mcp.local.yml */ export declare function loadFlowConfig(tools: ToolDef[], configDir?: string, pluginContribution?: PluginContribution): LoadedConfig;