import type { ConfigSource, ConfigLoadResult, ResolveConfigOptions, InstanceInfo, CreateInstanceOptions } from '../types.js';
/**
 * Configuration source that loads from dw.json files.
 *
 * @internal
 */
export declare class DwJsonSource implements ConfigSource {
    readonly name = "DwJsonSource";
    readonly priority = 0;
    load(options: ResolveConfigOptions): Promise<ConfigLoadResult | undefined>;
    /**
     * List all instances from dw.json.
     */
    listInstances(options?: ResolveConfigOptions): Promise<InstanceInfo[]>;
    /**
     * Create a new instance in dw.json.
     */
    createInstance(options: CreateInstanceOptions & ResolveConfigOptions): Promise<void>;
    /**
     * Remove an instance from dw.json.
     */
    removeInstance(name: string, options?: ResolveConfigOptions): Promise<void>;
    /**
     * Set an instance as active in dw.json.
     */
    setActiveInstance(name: string, options?: ResolveConfigOptions): Promise<void>;
}
