import { JsonObject, JsonValue } from "../../../types.js";

//#region src/modules/vc/data-integrity/jsonldUtil.d.ts

type JsonLdDoc = Record<string, unknown>;
interface VerificationMethod extends JsonObject {
  id: string;
  [key: string]: JsonValue;
}
interface Proof extends JsonObject {
  verificationMethod: string | VerificationMethod;
  [key: string]: JsonValue;
}
interface DocumentLoaderResult {
  contextUrl?: string | null;
  documentUrl: string;
  document: Record<string, unknown>;
}
type DocumentLoader = (url: string) => Promise<DocumentLoaderResult>;
//#endregion
export { DocumentLoader, JsonLdDoc, Proof, VerificationMethod };
//# sourceMappingURL=jsonldUtil.d.ts.map