UNPKG

598 BTypeScriptView Raw
1// Type definitions for hawk 9.0
2// Project: https://github.com/mozilla/hawk/
3// Definitions by: Florian Imdahl <https://github.com/ffflorian>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
6/// <reference types="node" />
7
8import * as client from "./lib/client";
9import * as crypto from "./lib/crypto";
10import * as server from "./lib/server";
11import * as utils from "./lib/utils";
12
13export namespace uri {
14 const authenticate: typeof server.authenticateBewit;
15 const getBewit: typeof client.getBewit;
16}
17
18export { client, crypto, server, utils };
19
20export as namespace hawk;