/** * Loader for the runtime.yaml provider configuration (issue #1136). * * Reads the two fixed paths (`~/.takt/runtime.yaml`, `/.takt/runtime.yaml`) with * schema validation. Directories are passed explicitly from above — there is no implicit * homedir/cwd fallback and no `runtime_file` indirection. When both files exist, project * wins: same-name profiles are replaced wholesale (no field-level merge, per order.md:37), * disjoint profiles are retained, and the other sections take the project value when present. * Named assignments and directory mappings are resolved after the two layers are merged. */ import { type RuntimeProviderFile } from './schema.js'; /** Load and validate a single runtime.yaml. Returns undefined when the file is absent or empty. */ export declare function loadRuntimeProviderFileAt(filePath: string): RuntimeProviderFile | undefined; export interface ResolveRuntimeProviderInput { globalConfigDir: string; projectConfigDir: string; } export type RuntimeProviderProfileOrigin = 'global' | 'project'; export interface ResolvedRuntimeProviderFileWithOrigins { readonly runtimeFile: RuntimeProviderFile | undefined; readonly profileOrigins: ReadonlyMap; } /** Resolve the effective file together with the layer that contributed each profile. */ export declare function resolveRuntimeProviderFileWithOrigins(input: ResolveRuntimeProviderInput): ResolvedRuntimeProviderFileWithOrigins; /** Resolve the effective runtime.yaml from the global and project layers (project wins). */ export declare function resolveRuntimeProviderFile(input: ResolveRuntimeProviderInput): RuntimeProviderFile | undefined; //# sourceMappingURL=loader.d.ts.map