import { type TokenometerConfig } from '@tokenometer/core'; import type { ParsedArgs } from './args.js'; export interface ApplyConfigOptions { /** Pre-loaded config (already parsed). When omitted, applyConfig is a no-op. */ config: TokenometerConfig | null; } /** * Apply config defaults to ParsedArgs. * User-passed flags ALWAYS win over config (we only fill in fields the user did not set). * Returns a new ParsedArgs (does not mutate the input). */ export declare const applyConfig: (args: ParsedArgs, opts: ApplyConfigOptions) => ParsedArgs; /** * Read a config from a user-specified path (used by `--config `). * Throws on parse / validation failure with the offending path included. */ export declare const loadConfigFromPath: (path: string) => Promise; //# sourceMappingURL=config-merge.d.ts.map