import { ConfigSchema, ConfigSchemaThemes } from "../src/schemas/schema.js"; import { deprecatedCLIOptions } from "../src/schemas/helpers.js"; import { Command, OptionValues } from "@commander-js/extra-typings"; /** Returns the themes of a validated config, or exits with an error if there are none. */ export declare function requireThemes(config: Pick): ConfigSchemaThemes; export declare const DEFAULT_CONFIG_FILEPATHS: string[]; export declare const DEFAULT_CONFIG_FILEPATH: string; export declare function readConfigFile(configFilePath: string, allowFileNotFound?: boolean): Promise; /** * Parses and validates the configuration file. * Merges the config file with CLI options, with CLI options taking precedence. * * @template T - The expected type of the parsed and validated config. * @param configFile - The content of the config file as a string. * @param options - An object containing the CLI command, theme name, and config file path. * @returns The validated configuration schema. */ export declare function parseValidateAndOptsConfig(configFile: string, options: { theme: string; cmd: Command; configFilePath: string; }): Promise; export declare function getConfigFile(userConfigFilePath: string | undefined): Promise<{ configFile: string; configFilePath: string; }>; export { deprecatedCLIOptions };