import * as z from 'zod'; import * as mf from 'multiformats/cid'; declare const documentData: z.ZodObject<{ did: z.ZodString; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; }, "strip", z.ZodTypeAny, { alsoKnownAs: string[]; did: string; rotationKeys: string[]; verificationMethods: Record; services: Record; }, { alsoKnownAs: string[]; did: string; rotationKeys: string[]; verificationMethods: Record; services: Record; }>; export declare type DocumentData = z.infer; declare const unsignedCreateOpV1: z.ZodObject<{ type: z.ZodLiteral<"create">; signingKey: z.ZodString; recoveryKey: z.ZodString; handle: z.ZodString; service: z.ZodString; prev: z.ZodNull; }, "strip", z.ZodTypeAny, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; }, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; }>; export declare type UnsignedCreateOpV1 = z.infer; declare const createOpV1: z.ZodObject; signingKey: z.ZodString; recoveryKey: z.ZodString; handle: z.ZodString; service: z.ZodString; prev: z.ZodNull; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }>; export declare type CreateOpV1 = z.infer; declare const unsignedOperation: z.ZodObject<{ type: z.ZodLiteral<"plc_operation">; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; }>; export declare type UnsignedOperation = z.infer; declare const operation: z.ZodObject; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }>; export declare type Operation = z.infer; declare const unsignedTombstone: z.ZodObject<{ type: z.ZodLiteral<"plc_tombstone">; prev: z.ZodString; }, "strip", z.ZodTypeAny, { type: "plc_tombstone"; prev: string; }, { type: "plc_tombstone"; prev: string; }>; export declare type UnsignedTombstone = z.infer; declare const tombstone: z.ZodObject; prev: z.ZodString; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_tombstone"; prev: string; sig: string; }, { type: "plc_tombstone"; prev: string; sig: string; }>; export declare type Tombstone = z.infer; declare const opOrTombstone: z.ZodUnion<[z.ZodObject; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }>, z.ZodObject; prev: z.ZodString; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_tombstone"; prev: string; sig: string; }, { type: "plc_tombstone"; prev: string; sig: string; }>]>; export declare type OpOrTombstone = z.infer; declare const compatibleOp: z.ZodUnion<[z.ZodObject; signingKey: z.ZodString; recoveryKey: z.ZodString; handle: z.ZodString; service: z.ZodString; prev: z.ZodNull; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }>, z.ZodObject; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }>]>; export declare type CompatibleOp = z.infer; declare const compatibleOpOrTombstone: z.ZodUnion<[z.ZodObject; signingKey: z.ZodString; recoveryKey: z.ZodString; handle: z.ZodString; service: z.ZodString; prev: z.ZodNull; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }>, z.ZodObject; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }>, z.ZodObject; prev: z.ZodString; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_tombstone"; prev: string; sig: string; }, { type: "plc_tombstone"; prev: string; sig: string; }>]>; export declare type CompatibleOpOrTombstone = z.infer; export declare const indexedOperation: z.ZodObject<{ did: z.ZodString; operation: z.ZodUnion<[z.ZodObject; signingKey: z.ZodString; recoveryKey: z.ZodString; handle: z.ZodString; service: z.ZodString; prev: z.ZodNull; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }>, z.ZodObject; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }>, z.ZodObject; prev: z.ZodString; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_tombstone"; prev: string; sig: string; }, { type: "plc_tombstone"; prev: string; sig: string; }>]>; cid: z.ZodEffects, mf.CID, any>; nullified: z.ZodBoolean; createdAt: z.ZodDate; }, "strip", z.ZodTypeAny, { did: string; operation: { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; } | { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; } | { type: "plc_tombstone"; prev: string; sig: string; }; cid: mf.CID; nullified: boolean; createdAt: Date; }, { cid?: any; did: string; operation: { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; } | { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; } | { type: "plc_tombstone"; prev: string; sig: string; }; nullified: boolean; createdAt: Date; }>; export declare type IndexedOperation = z.infer; export declare const exportedOp: z.ZodObject<{ did: z.ZodString; operation: z.ZodUnion<[z.ZodObject; signingKey: z.ZodString; recoveryKey: z.ZodString; handle: z.ZodString; service: z.ZodString; prev: z.ZodNull; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }>, z.ZodObject; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }>, z.ZodObject; prev: z.ZodString; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_tombstone"; prev: string; sig: string; }, { type: "plc_tombstone"; prev: string; sig: string; }>]>; cid: z.ZodString; nullified: z.ZodBoolean; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { did: string; operation: { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; } | { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; } | { type: "plc_tombstone"; prev: string; sig: string; }; cid: string; nullified: boolean; createdAt: string; }, { did: string; operation: { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; } | { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; } | { type: "plc_tombstone"; prev: string; sig: string; }; cid: string; nullified: boolean; createdAt: string; }>; export declare type ExportedOp = z.infer; export declare const didDocVerificationMethod: z.ZodObject<{ id: z.ZodString; type: z.ZodString; controller: z.ZodString; publicKeyMultibase: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; id: string; controller: string; publicKeyMultibase: string; }, { type: string; id: string; controller: string; publicKeyMultibase: string; }>; export declare const didDocService: z.ZodObject<{ id: z.ZodString; type: z.ZodString; serviceEndpoint: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; id: string; serviceEndpoint: string; }, { type: string; id: string; serviceEndpoint: string; }>; export declare const didDocument: z.ZodObject<{ '@context': z.ZodArray; id: z.ZodString; alsoKnownAs: z.ZodArray; verificationMethod: z.ZodArray, "many">; service: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { '@context': string[]; id: string; alsoKnownAs: string[]; verificationMethod: { type: string; id: string; controller: string; publicKeyMultibase: string; }[]; service: { type: string; id: string; serviceEndpoint: string; }[]; }, { '@context': string[]; id: string; alsoKnownAs: string[]; verificationMethod: { type: string; id: string; controller: string; publicKeyMultibase: string; }[]; service: { type: string; id: string; serviceEndpoint: string; }[]; }>; export declare type DidDocument = z.infer; export declare const def: { documentData: z.ZodObject<{ did: z.ZodString; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; }, "strip", z.ZodTypeAny, { alsoKnownAs: string[]; did: string; rotationKeys: string[]; verificationMethods: Record; services: Record; }, { alsoKnownAs: string[]; did: string; rotationKeys: string[]; verificationMethods: Record; services: Record; }>; createOpV1: z.ZodObject; signingKey: z.ZodString; recoveryKey: z.ZodString; handle: z.ZodString; service: z.ZodString; prev: z.ZodNull; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }>; unsignedOperation: z.ZodObject<{ type: z.ZodLiteral<"plc_operation">; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; }>; operation: z.ZodObject; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }>; tombstone: z.ZodObject; prev: z.ZodString; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_tombstone"; prev: string; sig: string; }, { type: "plc_tombstone"; prev: string; sig: string; }>; opOrTombstone: z.ZodUnion<[z.ZodObject; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }>, z.ZodObject; prev: z.ZodString; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_tombstone"; prev: string; sig: string; }, { type: "plc_tombstone"; prev: string; sig: string; }>]>; compatibleOp: z.ZodUnion<[z.ZodObject; signingKey: z.ZodString; recoveryKey: z.ZodString; handle: z.ZodString; service: z.ZodString; prev: z.ZodNull; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }>, z.ZodObject; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }>]>; compatibleOpOrTombstone: z.ZodUnion<[z.ZodObject; signingKey: z.ZodString; recoveryKey: z.ZodString; handle: z.ZodString; service: z.ZodString; prev: z.ZodNull; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }>, z.ZodObject; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }>, z.ZodObject; prev: z.ZodString; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_tombstone"; prev: string; sig: string; }, { type: "plc_tombstone"; prev: string; sig: string; }>]>; indexedOperation: z.ZodObject<{ did: z.ZodString; operation: z.ZodUnion<[z.ZodObject; signingKey: z.ZodString; recoveryKey: z.ZodString; handle: z.ZodString; service: z.ZodString; prev: z.ZodNull; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }>, z.ZodObject; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }>, z.ZodObject; prev: z.ZodString; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_tombstone"; prev: string; sig: string; }, { type: "plc_tombstone"; prev: string; sig: string; }>]>; cid: z.ZodEffects, mf.CID, any>; nullified: z.ZodBoolean; createdAt: z.ZodDate; }, "strip", z.ZodTypeAny, { did: string; operation: { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; } | { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; } | { type: "plc_tombstone"; prev: string; sig: string; }; cid: mf.CID; nullified: boolean; createdAt: Date; }, { cid?: any; did: string; operation: { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; } | { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; } | { type: "plc_tombstone"; prev: string; sig: string; }; nullified: boolean; createdAt: Date; }>; exportedOp: z.ZodObject<{ did: z.ZodString; operation: z.ZodUnion<[z.ZodObject; signingKey: z.ZodString; recoveryKey: z.ZodString; handle: z.ZodString; service: z.ZodString; prev: z.ZodNull; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }, { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; }>, z.ZodObject; rotationKeys: z.ZodArray; verificationMethods: z.ZodRecord; alsoKnownAs: z.ZodArray; services: z.ZodRecord>; prev: z.ZodNullable; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }, { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; }>, z.ZodObject; prev: z.ZodString; }, { sig: z.ZodString; }>, "strip", z.ZodTypeAny, { type: "plc_tombstone"; prev: string; sig: string; }, { type: "plc_tombstone"; prev: string; sig: string; }>]>; cid: z.ZodString; nullified: z.ZodBoolean; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { did: string; operation: { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; } | { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; } | { type: "plc_tombstone"; prev: string; sig: string; }; cid: string; nullified: boolean; createdAt: string; }, { did: string; operation: { type: "create"; service: string; signingKey: string; recoveryKey: string; handle: string; prev: null; sig: string; } | { type: "plc_operation"; alsoKnownAs: string[]; rotationKeys: string[]; verificationMethods: Record; services: Record; prev: string | null; sig: string; } | { type: "plc_tombstone"; prev: string; sig: string; }; cid: string; nullified: boolean; createdAt: string; }>; didDocument: z.ZodObject<{ '@context': z.ZodArray; id: z.ZodString; alsoKnownAs: z.ZodArray; verificationMethod: z.ZodArray, "many">; service: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { '@context': string[]; id: string; alsoKnownAs: string[]; verificationMethod: { type: string; id: string; controller: string; publicKeyMultibase: string; }[]; service: { type: string; id: string; serviceEndpoint: string; }[]; }, { '@context': string[]; id: string; alsoKnownAs: string[]; verificationMethod: { type: string; id: string; controller: string; publicKeyMultibase: string; }[]; service: { type: string; id: string; serviceEndpoint: string; }[]; }>; }; export {};