import { Did } from '../did.js';
export declare const DID_WEB_PREFIX = "did:web:";
/**
 * This function checks if the input is a valid Web DID, as per DID spec.
 */
export declare function isDidWeb(input: unknown): input is Did<'web'>;
export declare function asDidWeb(input: unknown): Did<'web'>;
export declare function assertDidWeb(input: unknown): asserts input is Did<'web'>;
export declare function didWebToUrl(did: Did<'web'>): URL & {
    protocol: "http:" | "https:";
};
export declare function urlToDidWeb(url: URL): Did<'web'>;
//# sourceMappingURL=web.d.ts.map