import { type FileSystem } from "../../config-mutations/dist/index.js";
import type { ConfigDocument, ScopeDefinition, ScopeSchema } from "./types.js";
export interface EnvOverrides {
    entries: string[];
    document: ConfigDocument;
}
export interface EditTargetOptions {
    global?: boolean;
    project?: boolean;
}
export declare function collectEnvOverrides(scopes: ReadonlyArray<ScopeDefinition<ScopeSchema>>, env: Record<string, string | undefined>): EnvOverrides;
export declare function resolveEditTarget(fs: FileSystem, configPath: string, projectConfigPath: string, options: EditTargetOptions): Promise<string>;
export declare function initProjectConfig(fs: FileSystem, targetPath: string): Promise<"created" | "already-exists">;
