2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
20 // Type definitions for js-md5 v0.3.0
21 // Project: https://github.com/emn178/js-md5
22 // Definitions by: Roland Greim <https://github.com/tigerxy>
23 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/
25 /// <reference path="../../../node_modules/@types/jquery/index.d.ts"/>
28 md5(value: string): string;
29 md5(value: Array<any>): string;
30 md5(value: Uint8Array): string;
33 interface JQueryStatic {
34 md5(value: string): string;
35 md5(value: Array<any>): string;
36 md5(value: Uint8Array): string;
40 (value: string): string;
41 (value: Array<any>): string;
42 (value: Uint8Array): string;
46 md5(value: string): string;
47 md5(value: Array<any>): string;
48 md5(value: Uint8Array): string;
51 declare module "js-md5" {