diff --git a/src/common/types/platform-bufferutils.d.ts b/src/common/types/platform-bufferutils.d.ts deleted file mode 100644 index f4c020f797..0000000000 --- a/src/common/types/platform-bufferutils.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare module 'platform-bufferutils' { - export const base64CharSet: string; - export const hexCharSet: string; - export const isBuffer: (buffer: unknown) => buffer is Buffer | ArrayBuffer | DataView; - export const toBuffer: (buffer: Buffer | TypedArray) => Buffer; - export const toArrayBuffer: (buffer: Buffer) => ArrayBuffer; - export const base64Encode: (buffer: Buffer | TypedArray) => string; - export const base64Decode: (string: string) => Buffer; - export const hexEncode: (buffer: Buffer | TypedArray) => string; - export const hexDecode: (string: string) => Buffer; - export const utf8Encode: (string: string) => Buffer; - export const utf8Decode: (buffer: Buffer) => string; - export const bufferCompare: (buffer1: Buffer, buffer2: Buffer) => number; - export const byteLength: (buffer: Buffer | ArrayBuffer | DataView) => number; - export const typedArrayToBuffer: (typedArray: TypedArray) => Buffer; -} diff --git a/src/common/types/platform-crypto.d.ts b/src/common/types/platform-crypto.d.ts deleted file mode 100644 index cda5ea8153..0000000000 --- a/src/common/types/platform-crypto.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare module 'platform-crypto' { - export const getCipher: Function; -} diff --git a/src/common/types/platform-http.d.ts b/src/common/types/platform-http.d.ts deleted file mode 100644 index 81aca4b8b2..0000000000 --- a/src/common/types/platform-http.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare module 'platform-http' { - const Http: typeof import('./http').IHttp; - export default Http; -} diff --git a/src/common/types/platform-transports.d.ts b/src/common/types/platform-transports.d.ts deleted file mode 100644 index f892e727d1..0000000000 --- a/src/common/types/platform-transports.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -declare module 'platform-transports' { - type Transport = import('../lib/transport/transport').default; - type ConnectionManager = import('../lib/transport/connectionmanager').default; - const PlatformTransports: Array<(connectionManager: typeof ConnectionManager) => Transport>; - export default PlatformTransports; -} diff --git a/src/common/types/platform-webstorage.d.ts b/src/common/types/platform-webstorage.d.ts deleted file mode 100644 index 4900205188..0000000000 --- a/src/common/types/platform-webstorage.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -declare module 'platform-webstorage' { - export const get: typeof import('../../platform/web/lib/util/webstorage').get; - export const getSession: typeof import('../../platform/web/lib/util/webstorage').getSession; - export const set: typeof import('../../platform/web/lib/util/webstorage').set; - export const setSession: typeof import('../../platform/web/lib/util/webstorage').setSession; - export const remove: typeof import('../../platform/web/lib/util/webstorage').remove; - export const removeSession: typeof import('../../platform/web/lib/util/webstorage').removeSession; -}