/** Hermes built-in caps when config.yaml omits the keys. */ export declare const DEFAULT_MEMORY_CHAR_LIMIT = 2200; export declare const DEFAULT_USER_CHAR_LIMIT = 1375; export type HermesLimitsSource = "yaml" | "defaults"; export type HermesCharLimits = { memoryCharLimit: number; userCharLimit: number; source: HermesLimitsSource; /** Absolute path that was attempted. */ configPath: string; warning: string | null; }; export type LoadHermesCharLimitsOptions = { home: string; env?: NodeJS.ProcessEnv; /** Override config.yaml path (tests). */ configPath?: string; }; export declare function resolveHermesHome(home: string, env?: NodeJS.ProcessEnv): string; export declare function hermesConfigYamlPath(home: string, env?: NodeJS.ProcessEnv): string; /** * Parse only top-level `memory:` keys we need. Other Hermes YAML is ignored. * `source` is `yaml` when at least one cap was taken from the file. */ export declare function parseHermesMemoryCharLimits(yamlText: string): { memoryCharLimit: number; userCharLimit: number; source: HermesLimitsSource; }; export declare function loadHermesCharLimits(options: LoadHermesCharLimitsOptions): HermesCharLimits; //# sourceMappingURL=hermes-config.d.ts.map