@filebox/core 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,46 @@
1
+ import FileBox from "./src";
2
+ import FileSystem from "./src/fs/index";
3
+ export { default as StatConstructorParams } from "./src/stat";
4
+ export { default as FileSystemType } from "./src/fs/index";
5
+ export { filterList } from "./src/filter";
6
+ import type from "./src/type";
7
+ import HttpFileSystem from "./src/fs/http_fs";
8
+ import Plugin from "./src/plugin";
9
+ import path from "./src/path";
10
+ import * as debug from "./src/debug";
11
+ import Cache from "./src/cache";
12
+ import * as crypt from "./src/crypt";
13
+ export { FileBox, FileSystem, HttpFileSystem, path, Plugin, type, debug, Cache, crypt, };
14
+ export { FsCrypt, FileEncryptor, normalizeEncryptionAlgorithm, DEFAULT_ENCRYPTION_SALT_HEX, CONTENT_ENCRYPTION_EXTENSION, normalizeEncryptionFeatureEnabled, isFilenameEncryptionEnabled, isContentEncryptionEnabled, addContentEncryptionSuffix, stripContentEncryptionSuffix, isContentEncryptedName, calculateEncryptedBytes, normalizeEncryptionSaltHex, normalizePartialEncryption, resolveEncryptionProfile, applyEncryptionQueryParams, parseEncryptionQueryParams, hexToUint8Array, arrayBufferToBase64Url, base64UrlToArrayBuffer, deriveKey, } from "./src/crypt";
15
+ export type { EncryptionAlgorithm, PartialEncryptionConfig, EncryptionProfile, } from "./src/crypt";
16
+ declare const _default: {
17
+ FileBox: typeof FileBox;
18
+ FileSystem: typeof FileSystem;
19
+ HttpFileSystem: typeof HttpFileSystem;
20
+ path: {
21
+ basename: (this: void, path: string, ext?: string) => string;
22
+ dirname: (this: void, path: string) => string;
23
+ extname: (this: void, path: string) => string;
24
+ format: (this: void, pathObject: Partial<import("path-browserify").PathObject>) => string;
25
+ isAbsolute: (this: void, path: string) => boolean;
26
+ join: (this: void, ...paths: string[]) => string;
27
+ normalize: (this: void, path: string) => string;
28
+ parse: (this: void, path: string) => import("path-browserify").PathObject;
29
+ relative: (this: void, from: string, to: string) => string;
30
+ resolve: (this: void, ...pathSegments: string[]) => string;
31
+ sep: string;
32
+ delimiter: string;
33
+ reverseSplist: typeof import("./src/path").reverseSplist;
34
+ toArray: typeof import("./src/path").toArray;
35
+ split: typeof import("./src/path").split;
36
+ isRoot: typeof import("./src/path").isRoot;
37
+ getParentAndName: typeof import("./src/path").getParentAndName;
38
+ joinPath: typeof import("./src/path").joinPath;
39
+ normalizePath: typeof import("./src/path").normalizePath;
40
+ };
41
+ Plugin: typeof Plugin;
42
+ type: import("./src/type").TypeManager;
43
+ debug: typeof debug;
44
+ Cache: typeof Cache;
45
+ };
46
+ export default _default;