import * as CIDLogRepo from "../../../repositories/cid-log.js";
import * as UcansRepo from "../../../repositories/ucans.js";
import * as DOH from "../dns-over-https.js";
// 🛳
export async function implementation(dependencies) {
    return {
        dataRoot: {
            domain: () => { throw new Error("Not implemented"); },
            lookup: () => { throw new Error("Not implemented"); },
            update: () => { throw new Error("Not implemented"); }
        },
        didRoot: {
            lookup: () => { throw new Error("Not implemented"); }
        },
        dns: {
            lookupDnsLink: DOH.lookupDnsLink,
            lookupTxtRecord: DOH.lookupTxtRecord,
        },
        repositories: {
            cidLog: await CIDLogRepo.create({ storage: dependencies.storage }),
            ucans: await UcansRepo.create({ storage: dependencies.storage })
        },
    };
}
//# sourceMappingURL=base.js.map