import { Link } from './types'; interface Signer { sign: (root: Link) => Promise; exportPublicKey: () => Promise; name?: string; email?: string; } declare const signerFactory: ({ name, email, subtle, privateKey, publicKey, }: { name?: string; email?: string; subtle: SubtleCrypto; privateKey: CryptoKey; publicKey: CryptoKey; }) => Signer; declare const verify: ({ subtle, publicKey, root, signature, }: { subtle: SubtleCrypto; publicKey: CryptoKey; root: Link; signature: Uint8Array; }) => Promise; declare const importPublicKey: ({ subtle, key, }: { subtle: SubtleCrypto; key: JsonWebKey; }) => Promise; export { signerFactory, Signer, verify, importPublicKey }; //# sourceMappingURL=trust.d.ts.map