import { GringowConfig } from './constants/default-config.mjs'; import 'zod'; import './schemas/config.shcema.mjs'; /** * Checks if a local config file is found. * * @returns True if a local config file is found, false otherwise. */ declare function isLocalConfigFound(): boolean; /** * Gets the source of the configuration. * * @returns The filepath of the config file if found, or 'default' if using default config */ declare function getConfigSource(): string; /** * Loads the user configuration. * * @returns The user configuration. */ declare function loadUserConfig(): Promise; /** * Waits for the user configuration to load. * * @returns The user configuration. */ declare const awaitedConfig: Promise<{ log: { level: "debug" | "info" | "warn" | "error" | "trace"; }; cache: { dir: string; file: string; prefix: string; write?: boolean | undefined; }; sourceLanguage: string; defaultLanguage: string; languages: string[]; llm: { provider: "anthropic" | "gemini" | "openai" | "groq" | "mistral" | "ollama" | "xai" | "deepseek" | "openrouter" | "cerebras" | "lmstudio" | "azure" | "meta"; model: string | null; apiKey?: string | undefined; baseURL?: string | undefined; temperature?: number | undefined; sleep?: number | undefined; prePrompt?: string | undefined; postPrompt?: string | undefined; prePromptReplace?: string | undefined; postPromptReplace?: string | undefined; prePromptAppend?: string | undefined; postPromptPrepend?: string | undefined; }; debug?: boolean | undefined; globby?: string | undefined; }>; declare function defaultPrePrompt(config: GringowConfig, extraInstructions?: string): string; declare function defaultPostPrompt(_config: GringowConfig): string; declare function prePrompt(config: GringowConfig, prepend?: string, replace?: string): string; declare function postPrompt(config: GringowConfig, prepend?: string, replace?: string): string; export { awaitedConfig, defaultPostPrompt, defaultPrePrompt, getConfigSource, isLocalConfigFound, loadUserConfig, postPrompt, prePrompt };