import type * as z from "zod/v4"; import { ConfigSchema } from "./config.js"; export type ByteroverConfig = z.infer; export type LoadConfigOptions = { cwd: string; homeDir?: string; }; export type LoadConfigResult = { success: true; config: ByteroverConfig; source?: string; } | { success: false; source: string; error: Error; }; export declare const loadConfig: ({ cwd, homeDir, }: LoadConfigOptions) => Promise;