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): ConfigLoadResult | undefined;
    /**
     * List all instances from dw.json.
     */
    listInstances(options?: ResolveConfigOptions): InstanceInfo[];
    /**
     * Create a new instance in dw.json.
     */
    createInstance(options: CreateInstanceOptions & ResolveConfigOptions): void;
    /**
     * Remove an instance from dw.json.
     */
    removeInstance(name: string, options?: ResolveConfigOptions): void;
    /**
     * Set an instance as active in dw.json.
     */
    setActiveInstance(name: string, options?: ResolveConfigOptions): void;
}
