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