/// <reference types="node" resolution-mode="require"/>
import type { ConfigSource, ConfigSourceOnChangeCB } from "../../interfaces/ConfigSource.js";
export interface JsonConfigSourceOptions {
    /**
     * The path to the JSON file.
     */
    path: string;
    /**
     * The encoding to use when reading the file.
     * @default "utf8"
     */
    encoding?: BufferEncoding;
}
export declare class JsonConfigSource implements ConfigSource<JsonConfigSourceOptions> {
    options: JsonConfigSourceOptions;
    getAll(): Record<string, unknown>;
    watch(onChange: ConfigSourceOnChangeCB): () => void;
}
