import { Web5UserAgent } from '@web5/user-agent';
import { DhtProfileConnectParams, DidDhtCreateParams, PartialProfileJson } from '../../utils/types.js';
export declare class DhtAgent {
    userAgent: Web5UserAgent;
    recoveryPhrase?: string;
    connectedDid?: string;
    constructor({ userAgent }: {
        userAgent: Web5UserAgent;
    });
    static create({ dataPath }: {
        dataPath: string;
    }): Promise<DhtAgent>;
    launch({ password }: {
        password: string;
    }): Promise<void>;
    json(): {
        userAgent: Web5UserAgent;
        recoveryPhrase: string;
        connectedDid: string;
    };
    identity({ dwnEndpoints }: {
        dwnEndpoints: string[];
        recoveryPhrase: string;
    }): Promise<string>;
}
export declare class DhtProfile {
    static create(params: DidDhtCreateParams): Promise<PartialProfileJson>;
    static connect({ did, password, dwnEndpoints, web5DataPath }: DhtProfileConnectParams): Promise<any>;
}
//# sourceMappingURL=dht.d.ts.map