import type { ConfigFormat } from "../types.js"; export type FormatName = "json" | "toml" | "yaml"; /** * Get a format handler by path (auto-detect from extension) or explicit format name. */ export declare function getConfigFormat(pathOrFormat: string): ConfigFormat; /** * Detect format name from a file path. */ export declare function detectFormat(path: string): FormatName | undefined; export { jsonFormat } from "./json.js"; export { tomlFormat } from "./toml.js"; export { yamlFormat } from "./yaml.js";