import { z } from 'zod'; export declare const isValidDidDoc: (doc: unknown) => doc is DidDocument; export declare const getDid: (doc: DidDocument) => string; export declare const getHandle: (doc: DidDocument) => string | undefined; export declare const getSigningKey: (doc: DidDocument) => { type: string; publicKeyMultibase: string; } | undefined; export declare const getVerificationMaterial: (doc: DidDocument, keyId: string) => { type: string; publicKeyMultibase: string; } | undefined; export declare const getSigningDidKey: (doc: DidDocument) => string | undefined; export declare const getPdsEndpoint: (doc: DidDocument) => string | undefined; export declare const getFeedGenEndpoint: (doc: DidDocument) => string | undefined; export declare const getNotifEndpoint: (doc: DidDocument) => string | undefined; export declare const getServiceEndpoint: (doc: DidDocument, opts: { id: string; type?: string; }) => string | undefined; /** * @deprecated Use `DidDocument` from `@atproto/did` instead as it applies * stricter (and more spec-compliant) validation. */ export declare const didDocument: z.ZodObject<{ '@context': z.ZodOptional, z.ZodArray]>>; id: z.ZodString; alsoKnownAs: z.ZodOptional>; verificationMethod: z.ZodOptional>; publicKeyMultibase: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; id: string; controller: string; publicKeyJwk?: Record | undefined; publicKeyMultibase?: string | undefined; }, { type: string; id: string; controller: string; publicKeyJwk?: Record | undefined; publicKeyMultibase?: string | undefined; }>, "many">>; authentication: z.ZodOptional>; publicKeyMultibase: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; id: string; controller: string; publicKeyJwk?: Record | undefined; publicKeyMultibase?: string | undefined; }, { type: string; id: string; controller: string; publicKeyJwk?: Record | undefined; publicKeyMultibase?: string | undefined; }>]>, "many">>; service: z.ZodOptional]>; }, "strip", z.ZodTypeAny, { type: string; id: string; serviceEndpoint: string | Record; }, { type: string; id: string; serviceEndpoint: string | Record; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; '@context'?: string[] | "https://www.w3.org/ns/did/v1" | undefined; alsoKnownAs?: string[] | undefined; verificationMethod?: { type: string; id: string; controller: string; publicKeyJwk?: Record | undefined; publicKeyMultibase?: string | undefined; }[] | undefined; authentication?: (string | { type: string; id: string; controller: string; publicKeyJwk?: Record | undefined; publicKeyMultibase?: string | undefined; })[] | undefined; service?: { type: string; id: string; serviceEndpoint: string | Record; }[] | undefined; }, { id: string; '@context'?: string[] | "https://www.w3.org/ns/did/v1" | undefined; alsoKnownAs?: string[] | undefined; verificationMethod?: { type: string; id: string; controller: string; publicKeyJwk?: Record | undefined; publicKeyMultibase?: string | undefined; }[] | undefined; authentication?: (string | { type: string; id: string; controller: string; publicKeyJwk?: Record | undefined; publicKeyMultibase?: string | undefined; })[] | undefined; service?: { type: string; id: string; serviceEndpoint: string | Record; }[] | undefined; }>; export type DidDocument = z.infer; //# sourceMappingURL=did-doc.d.ts.map