import { KeyType } from "../types.js"; /** https://github.com/multiformats/multicodec/blob/e9ecf587558964715054a0afcc01f7ace220952c/table.csv#L94 */ export declare const EDWARDS_DID_PREFIX: Uint8Array; /** https://github.com/multiformats/multicodec/blob/e9ecf587558964715054a0afcc01f7ace220952c/table.csv#L91 */ export declare const BLS_DID_PREFIX: Uint8Array; /** https://github.com/multiformats/multicodec/blob/e9ecf587558964715054a0afcc01f7ace220952c/table.csv#L141 */ export declare const P256_DID_PREFIX: Uint8Array; /** https://github.com/multiformats/multicodec/blob/e9ecf587558964715054a0afcc01f7ace220952c/table.csv#L142 */ export declare const P384_DID_PREFIX: Uint8Array; /** https://github.com/multiformats/multicodec/blob/e9ecf587558964715054a0afcc01f7ace220952c/table.csv#L143 */ export declare const P521_DID_PREFIX: Uint8Array; /** https://github.com/multiformats/multicodec/blob/e9ecf587558964715054a0afcc01f7ace220952c/table.csv#L146 */ export declare const RSA_DID_PREFIX: Uint8Array; /** Old RSA DID prefix, used pre-standardisation */ export declare const RSA_DID_PREFIX_OLD: Uint8Array; export declare const BASE58_DID_PREFIX = "did:key:z"; /** * Magic bytes. */ export declare function magicBytes(keyType: KeyType): Uint8Array | null; /** * Parse magic bytes on prefixed key-bytes * to determine cryptosystem & the unprefixed key-bytes. */ export declare const parseMagicBytes: (prefixedKey: Uint8Array) => { keyBytes: Uint8Array; type: KeyType; }; /** * Determines if a Uint8Array has a given indeterminate length-prefix. */ export declare const hasPrefix: (prefixedKey: Uint8Array, prefix: Uint8Array) => boolean;