import { IConfig, IEtcd } from '@nestcloud/common';
export declare class EtcdConfig implements IConfig {
    private readonly client;
    private readonly name;
    private readonly store;
    private readonly retryInterval;
    private readonly logger;
    private readonly namespace;
    constructor(client: IEtcd, name: string);
    init(): Promise<void>;
    get<T extends any>(path?: string, defaults?: any): T;
    getKey(): string;
    set(path: string, value: any): Promise<void>;
    watch<T extends any>(path: string, callback?: (data: T) => void): void;
    private createWatcher;
}
