@adviser/cement 0.3.1 → 0.3.2
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.
- package/base-sys-abstraction-CR_Z-Ceg.d.ts +84 -0
- package/base-sys-abstraction-DWtPI7Kg.d.cts +84 -0
- package/cf/index.cjs +929 -0
- package/cf/index.cjs.map +1 -0
- package/cf/index.d.cts +26 -0
- package/cf/index.d.ts +26 -0
- package/cf/index.js +12 -0
- package/cf/index.js.map +1 -0
- package/{chunk-3RHIVQAA.js → chunk-A7OPSHUV.js} +6 -94
- package/chunk-A7OPSHUV.js.map +1 -0
- package/chunk-DZPKZQIT.js +1182 -0
- package/chunk-DZPKZQIT.js.map +1 -0
- package/chunk-HFP74WLI.js +96 -0
- package/chunk-HFP74WLI.js.map +1 -0
- package/chunk-R2EEZNZN.js +1742 -0
- package/chunk-R2EEZNZN.js.map +1 -0
- package/deno/index.cjs +940 -0
- package/deno/index.cjs.map +1 -0
- package/deno/index.d.cts +59 -0
- package/deno/index.d.ts +59 -0
- package/deno/index.js +16 -0
- package/deno/index.js.map +1 -0
- package/index-BfZxTAe_.d.cts +318 -0
- package/index-CfSl8Gmj.d.ts +318 -0
- package/index.cjs +393 -143
- package/index.cjs.map +1 -1
- package/index.d.cts +7 -317
- package/index.d.ts +7 -317
- package/index.js +34 -1729
- package/index.js.map +1 -1
- package/node/index.cjs +265 -217
- package/node/index.cjs.map +1 -1
- package/node/index.d.cts +16 -21
- package/node/index.d.ts +16 -21
- package/node/index.js +8 -352
- package/node/index.js.map +1 -1
- package/package.json +18 -11
- package/src/cf/cf-sys-abstraction.ts +78 -0
- package/src/cf/index.ts +1 -0
- package/src/{node → deno}/deno-file-service.ts +2 -2
- package/src/{node → deno}/deno-sys-abstraction.ts +64 -7
- package/src/deno/index.ts +2 -0
- package/src/index.ts +1 -2
- package/src/jsr.json +1 -1
- package/src/logger-impl.ts +2 -2
- package/src/logger.ts +10 -3
- package/src/node/index.ts +0 -1
- package/src/node/node-sys-abstraction.ts +45 -1
- package/src/runtime.ts +13 -3
- package/src/sys-env.ts +19 -113
- package/src/test/index.ts +2 -0
- package/src/web/web-sys-abstraction.ts +42 -2
- package/sys-abstraction-GNnBj2sz.d.cts +102 -0
- package/sys-abstraction-GNnBj2sz.d.ts +102 -0
- package/test/index.cjs +2681 -0
- package/test/index.cjs.map +1 -0
- package/test/index.d.cts +3 -0
- package/test/index.d.ts +3 -0
- package/test/index.js +14 -0
- package/test/index.js.map +1 -0
- package/ts/base-sys-abstraction.test.js +8 -2
- package/ts/base-sys-abstraction.test.js.map +1 -1
- package/ts/cf/cf-sys-abstraction.d.ts +24 -0
- package/ts/cf/cf-sys-abstraction.d.ts.map +1 -0
- package/ts/cf/cf-sys-abstraction.js +72 -0
- package/ts/cf/cf-sys-abstraction.js.map +1 -0
- package/ts/cf/index.d.ts +2 -0
- package/ts/cf/index.d.ts.map +1 -0
- package/ts/cf/index.js +2 -0
- package/ts/cf/index.js.map +1 -0
- package/ts/crypto.test.js +1 -1
- package/ts/crypto.test.js.map +1 -1
- package/ts/{node → deno}/deno-file-service.d.ts.map +1 -1
- package/ts/{node → deno}/deno-file-service.js +1 -1
- package/ts/{node → deno}/deno-file-service.js.map +1 -1
- package/ts/deno/deno-sys-abstraction.d.ts +43 -0
- package/ts/deno/deno-sys-abstraction.d.ts.map +1 -0
- package/ts/{node → deno}/deno-sys-abstraction.js +46 -2
- package/ts/deno/deno-sys-abstraction.js.map +1 -0
- package/ts/deno/index.d.ts +3 -0
- package/ts/deno/index.d.ts.map +1 -0
- package/ts/deno/index.js +3 -0
- package/ts/deno/index.js.map +1 -0
- package/ts/index.d.ts +1 -2
- package/ts/index.d.ts.map +1 -1
- package/ts/index.js +1 -2
- package/ts/index.js.map +1 -1
- package/ts/logger-impl.js +2 -2
- package/ts/logger-impl.js.map +1 -1
- package/ts/logger.d.ts.map +1 -1
- package/ts/logger.js +9 -3
- package/ts/logger.js.map +1 -1
- package/ts/logger.test.js +9 -9
- package/ts/logger.test.js.map +1 -1
- package/ts/node/index.d.ts +0 -1
- package/ts/node/index.d.ts.map +1 -1
- package/ts/node/index.js +0 -1
- package/ts/node/index.js.map +1 -1
- package/ts/node/node-sys-abstraction.d.ts +14 -1
- package/ts/node/node-sys-abstraction.d.ts.map +1 -1
- package/ts/node/node-sys-abstraction.js +43 -0
- package/ts/node/node-sys-abstraction.js.map +1 -1
- package/ts/runtime.d.ts +1 -0
- package/ts/runtime.d.ts.map +1 -1
- package/ts/runtime.js +10 -3
- package/ts/runtime.js.map +1 -1
- package/ts/sys-env.d.ts +0 -11
- package/ts/sys-env.d.ts.map +1 -1
- package/ts/sys-env.js +19 -104
- package/ts/sys-env.js.map +1 -1
- package/ts/sys-env.test.js +16 -3
- package/ts/sys-env.test.js.map +1 -1
- package/ts/test/index.d.ts +3 -0
- package/ts/test/index.d.ts.map +1 -0
- package/ts/test/index.js +3 -0
- package/ts/test/index.js.map +1 -0
- package/ts/test/test-exit-handler.js +1 -1
- package/ts/web/web-sys-abstraction.d.ts +27 -0
- package/ts/web/web-sys-abstraction.d.ts.map +1 -1
- package/ts/web/web-sys-abstraction.js +35 -1
- package/ts/web/web-sys-abstraction.js.map +1 -1
- package/utils/index.js +6 -4
- package/web/index.cjs +389 -67
- package/web/index.cjs.map +1 -1
- package/web/index.d.cts +28 -2
- package/web/index.d.ts +28 -2
- package/web/index.js +5 -2
- package/base-sys-abstraction-BPFyK8XL.d.ts +0 -195
- package/base-sys-abstraction-KYXfUGd6.d.cts +0 -195
- package/chunk-3RHIVQAA.js.map +0 -1
- package/chunk-PSPOGR2I.js +0 -627
- package/chunk-PSPOGR2I.js.map +0 -1
- package/chunk-STUPETPE.js +0 -87
- package/chunk-STUPETPE.js.map +0 -1
- package/ts/node/deno-sys-abstraction.d.ts +0 -22
- package/ts/node/deno-sys-abstraction.d.ts.map +0 -1
- package/ts/node/deno-sys-abstraction.js.map +0 -1
- /package/ts/{node → deno}/deno-file-service.d.ts +0 -0
@@ -0,0 +1,318 @@
|
|
1
|
+
import { T as TxtEnDecoder } from './txt-en-decoder-CZYJUju2.js';
|
2
|
+
import { d as SysAbstraction } from './sys-abstraction-GNnBj2sz.js';
|
3
|
+
|
4
|
+
declare abstract class Option<T> {
|
5
|
+
static Some<T>(t: T): Option<T>;
|
6
|
+
static None<T>(): Option<T>;
|
7
|
+
static Is<T>(t: unknown): t is Option<T>;
|
8
|
+
static From<T>(t?: T): Option<T>;
|
9
|
+
IsNone(): boolean;
|
10
|
+
IsSome(): boolean;
|
11
|
+
Unwrap(): T;
|
12
|
+
abstract is_none(): boolean;
|
13
|
+
abstract is_some(): boolean;
|
14
|
+
abstract unwrap(): T;
|
15
|
+
}
|
16
|
+
declare class Some<T> extends Option<T> {
|
17
|
+
private _t;
|
18
|
+
constructor(_t: T);
|
19
|
+
is_none(): boolean;
|
20
|
+
is_some(): boolean;
|
21
|
+
unwrap(): T;
|
22
|
+
}
|
23
|
+
declare class None<T> extends Option<T> {
|
24
|
+
is_none(): boolean;
|
25
|
+
is_some(): boolean;
|
26
|
+
unwrap(): T;
|
27
|
+
}
|
28
|
+
type WithoutOption<T> = T extends Option<infer U> ? U : T;
|
29
|
+
|
30
|
+
declare abstract class Result<T, E = Error> {
|
31
|
+
static Ok<T = void>(t: T): Result<T, Error>;
|
32
|
+
static Err<T, E extends Error = Error>(t: E | string | Result<unknown, E>): Result<T, E>;
|
33
|
+
static Is<T>(t: unknown): t is Result<T>;
|
34
|
+
isOk(): boolean;
|
35
|
+
isErr(): boolean;
|
36
|
+
Ok(): T;
|
37
|
+
Err(): E;
|
38
|
+
abstract is_ok(): boolean;
|
39
|
+
abstract is_err(): boolean;
|
40
|
+
abstract unwrap(): T;
|
41
|
+
abstract unwrap_err(): E;
|
42
|
+
}
|
43
|
+
declare class ResultOK<T> extends Result<T, Error> {
|
44
|
+
private _t;
|
45
|
+
constructor(t: T);
|
46
|
+
is_ok(): boolean;
|
47
|
+
is_err(): boolean;
|
48
|
+
unwrap_err(): Error;
|
49
|
+
unwrap(): T;
|
50
|
+
}
|
51
|
+
declare class ResultError<T extends Error> extends Result<never, T> {
|
52
|
+
private _error;
|
53
|
+
constructor(t: T);
|
54
|
+
is_ok(): boolean;
|
55
|
+
is_err(): boolean;
|
56
|
+
unwrap(): never;
|
57
|
+
unwrap_err(): T;
|
58
|
+
}
|
59
|
+
type WithoutResult<T> = T extends Result<infer U> ? U : T;
|
60
|
+
type WithResult<T> = T extends Promise<infer U> ? Promise<Result<U>> : Result<T>;
|
61
|
+
declare function exception2Result<FN extends () => Promise<T> | T, T>(fn: FN): WithResult<ReturnType<FN>>;
|
62
|
+
|
63
|
+
type StripCommand = string | RegExp;
|
64
|
+
|
65
|
+
type NullOrUndef = null | undefined;
|
66
|
+
type OneKey<K extends string, V = string> = Record<K, V>;
|
67
|
+
type MsgFn = (...keys: string[]) => string;
|
68
|
+
declare class _REQUIRED {
|
69
|
+
readonly val = "REQUIRED";
|
70
|
+
}
|
71
|
+
declare class _OPTIONAL {
|
72
|
+
readonly val = "OPTIONAL";
|
73
|
+
}
|
74
|
+
interface _key {
|
75
|
+
readonly REQUIRED: _REQUIRED;
|
76
|
+
readonly OPTIONAL: _OPTIONAL;
|
77
|
+
}
|
78
|
+
declare const key: _key;
|
79
|
+
type KeysParam = (string | MsgFn | Record<string, _REQUIRED | _OPTIONAL | unknown>)[];
|
80
|
+
interface URIInterface<R extends URIInterface<R>> {
|
81
|
+
readonly getParams: Iterable<[string, string]>;
|
82
|
+
hasParam(key: string): boolean;
|
83
|
+
getParam<T extends string | undefined>(key: string | OneKey<string>, def?: T): T extends string ? string : string | undefined;
|
84
|
+
getParamResult(key: string, msgFn?: (key: string) => string): Result<string>;
|
85
|
+
getParamsResult(...keys: KeysParam): Result<Record<string, string>>;
|
86
|
+
clone(): R;
|
87
|
+
asURL(): URL;
|
88
|
+
toString(): string;
|
89
|
+
toJSON(): string;
|
90
|
+
asObj(...strips: StripCommand[]): Partial<HostURIObject | PathURIObject>;
|
91
|
+
}
|
92
|
+
interface URIObject {
|
93
|
+
readonly style: "host" | "path";
|
94
|
+
readonly protocol: string;
|
95
|
+
readonly pathname: string;
|
96
|
+
readonly searchParams: Record<string, string>;
|
97
|
+
}
|
98
|
+
interface PathURIObject extends URIObject {
|
99
|
+
readonly style: "path";
|
100
|
+
}
|
101
|
+
interface HostURIObject extends URIObject {
|
102
|
+
readonly style: "host";
|
103
|
+
readonly hostname: string;
|
104
|
+
readonly port: string;
|
105
|
+
}
|
106
|
+
declare function isURL(value: unknown): value is URL;
|
107
|
+
declare class MutableURL extends URL {
|
108
|
+
private readonly _sysURL;
|
109
|
+
private _protocol;
|
110
|
+
private _pathname;
|
111
|
+
private _hasHostpart;
|
112
|
+
readonly hash: string;
|
113
|
+
constructor(urlStr: string);
|
114
|
+
clone(): MutableURL;
|
115
|
+
get host(): string;
|
116
|
+
get port(): string;
|
117
|
+
set port(p: string);
|
118
|
+
get hostname(): string;
|
119
|
+
set hostname(h: string);
|
120
|
+
set pathname(p: string);
|
121
|
+
get pathname(): string;
|
122
|
+
get protocol(): string;
|
123
|
+
set protocol(p: string);
|
124
|
+
get searchParams(): URLSearchParams;
|
125
|
+
toString(): string;
|
126
|
+
}
|
127
|
+
declare class BuildURI implements URIInterface<BuildURI> {
|
128
|
+
_url: MutableURL;
|
129
|
+
private constructor();
|
130
|
+
static is(value: unknown): value is BuildURI;
|
131
|
+
static from(strURLUri?: CoerceURI, defaultProtocol?: string): BuildURI;
|
132
|
+
port(p: string): BuildURI;
|
133
|
+
hostname(h: string): BuildURI;
|
134
|
+
protocol(p: string): BuildURI;
|
135
|
+
pathname(p: string): BuildURI;
|
136
|
+
resolve(p: CoerceURI): BuildURI;
|
137
|
+
appendRelative(p: CoerceURI): BuildURI;
|
138
|
+
cleanParams(): BuildURI;
|
139
|
+
delParam(key: string): BuildURI;
|
140
|
+
defParam(key: string, str: string): BuildURI;
|
141
|
+
setParam(key: string, str: string): BuildURI;
|
142
|
+
hasParam(key: string): boolean;
|
143
|
+
get getParams(): Iterable<[string, string]>;
|
144
|
+
getParam<T extends string | undefined>(key: string | OneKey<string>, def?: T): T extends string ? string : string | undefined;
|
145
|
+
getParamResult(key: string, msgFn?: (key: string) => string): Result<string>;
|
146
|
+
getParamsResult(...keys: KeysParam): Result<Record<string, string>>;
|
147
|
+
toString(): string;
|
148
|
+
toJSON(): string;
|
149
|
+
asURL(): URL;
|
150
|
+
asObj(...strips: StripCommand[]): Partial<HostURIObject | PathURIObject>;
|
151
|
+
clone(): BuildURI;
|
152
|
+
URI(): URI;
|
153
|
+
}
|
154
|
+
type CoerceURI = string | URI | MutableURL | URL | BuildURI | NullOrUndef;
|
155
|
+
declare const hasHostPartProtocols: Set<string>;
|
156
|
+
declare class URI implements URIInterface<URI> {
|
157
|
+
static protocolHasHostpart(protocol: string): () => void;
|
158
|
+
static merge(into: CoerceURI, from: CoerceURI, defaultProtocol?: string): URI;
|
159
|
+
static is(value: unknown): value is URI;
|
160
|
+
static from(strURLUri?: CoerceURI, defaultProtocol?: string): URI;
|
161
|
+
static fromResult(strURLUri?: CoerceURI, defaultProtocol?: string): Result<URI>;
|
162
|
+
readonly _url: MutableURL;
|
163
|
+
private constructor();
|
164
|
+
build(): BuildURI;
|
165
|
+
get hostname(): string;
|
166
|
+
get port(): string;
|
167
|
+
get host(): string;
|
168
|
+
get protocol(): string;
|
169
|
+
get pathname(): string;
|
170
|
+
get getParams(): Iterable<[string, string]>;
|
171
|
+
hasParam(key: string): boolean;
|
172
|
+
getParam<T extends string | undefined>(key: string | OneKey<string>, def?: T): T extends string ? string : string | undefined;
|
173
|
+
getParamResult(key: string, msgFn?: (key: string) => string): Result<string>;
|
174
|
+
getParamsResult(...keys: KeysParam): Result<Record<string, string>>;
|
175
|
+
clone(): URI;
|
176
|
+
asURL(): URL;
|
177
|
+
toString(): string;
|
178
|
+
toJSON(): string;
|
179
|
+
asObj(...strips: StripCommand[]): Partial<HostURIObject | PathURIObject>;
|
180
|
+
}
|
181
|
+
|
182
|
+
declare enum Level {
|
183
|
+
WARN = "warn",
|
184
|
+
DEBUG = "debug",
|
185
|
+
INFO = "info",
|
186
|
+
ERROR = "error"
|
187
|
+
}
|
188
|
+
type Serialized = string | number | boolean;
|
189
|
+
type FnSerialized = () => Serialized | Serialized[];
|
190
|
+
declare class LogValue {
|
191
|
+
readonly fn: FnSerialized;
|
192
|
+
constructor(fn: FnSerialized);
|
193
|
+
value(): Serialized | Serialized[];
|
194
|
+
toJSON(): Serialized | Serialized[];
|
195
|
+
}
|
196
|
+
type LogSerializable = Record<string, LogValue | Promise<LogValue>>;
|
197
|
+
declare function asyncLogValue(val: () => Promise<Serialized>): Promise<LogValue>;
|
198
|
+
type LogValueArg = LogValue | Serialized | Serialized[] | FnSerialized | undefined | null;
|
199
|
+
interface LogValueState {
|
200
|
+
readonly state?: Set<unknown>;
|
201
|
+
readonly ignoreAttr: Option<RegExp>;
|
202
|
+
}
|
203
|
+
declare function logValue(val: LogValueArg, ctx: LogValueState): LogValue;
|
204
|
+
interface Sized {
|
205
|
+
size: number;
|
206
|
+
}
|
207
|
+
interface Lengthed {
|
208
|
+
length: number;
|
209
|
+
}
|
210
|
+
type SizeOrLength = Sized | Lengthed;
|
211
|
+
interface LogFormatter {
|
212
|
+
format(attr: LogSerializable): Uint8Array;
|
213
|
+
}
|
214
|
+
interface LevelHandler {
|
215
|
+
enableLevel(level: Level, ...modules: string[]): void;
|
216
|
+
disableLevel(level: Level, ...modules: string[]): void;
|
217
|
+
setExposeStack(enable?: boolean): void;
|
218
|
+
setIgnoreAttr(re?: RegExp): void;
|
219
|
+
ignoreAttr: Option<RegExp>;
|
220
|
+
isStackExposed: boolean;
|
221
|
+
setDebug(...modules: (string | string[])[]): void;
|
222
|
+
isEnabled(ilevel: unknown, module: unknown): boolean;
|
223
|
+
}
|
224
|
+
type HttpType = Response | Result<Response> | Request | Result<Request>;
|
225
|
+
interface LoggerInterface<R> {
|
226
|
+
readonly levelHandler: LevelHandler;
|
227
|
+
TxtEnDe(): TxtEnDecoder;
|
228
|
+
Module(key: string): R;
|
229
|
+
EnableLevel(level: Level, ...modules: string[]): R;
|
230
|
+
DisableLevel(level: Level, ...modules: string[]): R;
|
231
|
+
Attributes(): Record<string, unknown>;
|
232
|
+
SetDebug(...modules: (string | string[])[]): R;
|
233
|
+
SetIgnoreAttribute(re?: RegExp): R;
|
234
|
+
SetExposeStack(enable?: boolean): R;
|
235
|
+
SetFormatter(fmt: LogFormatter): R;
|
236
|
+
Ref(key: string, action: {
|
237
|
+
toString: () => string;
|
238
|
+
} | FnSerialized): R;
|
239
|
+
Result<T>(key: string, res: Result<T>): R;
|
240
|
+
Url(url: CoerceURI, key?: string): R;
|
241
|
+
Len(value: unknown, key?: string): R;
|
242
|
+
Hash(value: unknown, key?: string): R;
|
243
|
+
Str<T extends string | Record<string, string>>(key: T, value?: T extends string ? string : undefined): R;
|
244
|
+
Uint64<T extends string | Record<string, number>>(key: T, value?: T extends string ? number : undefined): R;
|
245
|
+
Int<T extends string | Record<string, number>>(key: T, value?: T extends string ? number : undefined): R;
|
246
|
+
Bool<T extends string | Record<string, unknown>>(key: T, value?: T extends string ? unknown : undefined): R;
|
247
|
+
Any<T extends string | Record<string, unknown>>(key: T, value?: T extends string ? unknown : undefined): R;
|
248
|
+
Http(...mix: (HttpType | string)[]): R;
|
249
|
+
Pair(x: Record<string, unknown>): R;
|
250
|
+
Error(): R;
|
251
|
+
Warn(): R;
|
252
|
+
Debug(): R;
|
253
|
+
Log(): R;
|
254
|
+
WithLevel(level: Level): R;
|
255
|
+
Err(err: unknown | Result<unknown> | Error): R;
|
256
|
+
Info(): R;
|
257
|
+
Timestamp(): R;
|
258
|
+
Dur(key: string, nsec: number): R;
|
259
|
+
}
|
260
|
+
declare function IsLogger(obj: unknown): obj is Logger;
|
261
|
+
interface WithLogger extends LoggerInterface<WithLogger> {
|
262
|
+
Logger(): Logger;
|
263
|
+
}
|
264
|
+
interface AsError {
|
265
|
+
AsError(): Error;
|
266
|
+
ResultError<T>(): Result<T>;
|
267
|
+
}
|
268
|
+
interface Logger extends LoggerInterface<Logger> {
|
269
|
+
With(): WithLogger;
|
270
|
+
Msg(...args: string[]): AsError;
|
271
|
+
Flush(): Promise<void>;
|
272
|
+
}
|
273
|
+
|
274
|
+
declare class Future<T> {
|
275
|
+
#private;
|
276
|
+
constructor();
|
277
|
+
asPromise(): Promise<T>;
|
278
|
+
resolve(value: T): void;
|
279
|
+
reject(reason: unknown): void;
|
280
|
+
}
|
281
|
+
|
282
|
+
declare class LogWriteStream implements WritableStreamDefaultWriter<Uint8Array> {
|
283
|
+
private readonly _bufferArr;
|
284
|
+
constructor(bufferArr: Uint8Array[]);
|
285
|
+
readonly _resolveClosed: Future<undefined>;
|
286
|
+
readonly closed: Promise<undefined>;
|
287
|
+
readonly desiredSize: number | null;
|
288
|
+
readonly ready: Promise<undefined>;
|
289
|
+
abort(reason?: any): Promise<void>;
|
290
|
+
close(): Promise<void>;
|
291
|
+
releaseLock(): void;
|
292
|
+
write(chunk?: Uint8Array): Promise<void>;
|
293
|
+
}
|
294
|
+
declare class LogCollector implements WritableStream<Uint8Array> {
|
295
|
+
readonly locked: boolean;
|
296
|
+
private _writer?;
|
297
|
+
private readonly _pass?;
|
298
|
+
private readonly _bufferArr;
|
299
|
+
private readonly _txtEnDe;
|
300
|
+
constructor(pass?: WritableStreamDefaultWriter<Uint8Array>, txtEnDe?: TxtEnDecoder);
|
301
|
+
abort(reason?: Uint8Array): Promise<void>;
|
302
|
+
close(): Promise<void>;
|
303
|
+
getWriter(): WritableStreamDefaultWriter<Uint8Array>;
|
304
|
+
Logs(notJsonLine?: boolean): any[];
|
305
|
+
}
|
306
|
+
|
307
|
+
interface MockLoggerReturn {
|
308
|
+
readonly logger: Logger;
|
309
|
+
readonly logCollector: LogCollector;
|
310
|
+
}
|
311
|
+
declare function MockLogger(params?: {
|
312
|
+
readonly sys?: SysAbstraction;
|
313
|
+
readonly pass?: WritableStreamDefaultWriter<Uint8Array>;
|
314
|
+
moduleName?: string | string[];
|
315
|
+
readonly disableDebug?: boolean;
|
316
|
+
}): MockLoggerReturn;
|
317
|
+
|
318
|
+
export { type AsError as A, type HostURIObject as B, type CoerceURI as C, isURL as D, MutableURL as E, type FnSerialized as F, BuildURI as G, type HttpType as H, IsLogger as I, hasHostPartProtocols as J, type KeysParam as K, type LogFormatter as L, type MockLoggerReturn as M, None as N, Option as O, type PathURIObject as P, URI as Q, Result as R, type Serialized as S, type URIInterface as U, type WithLogger as W, type LogSerializable as a, type LevelHandler as b, type Logger as c, Level as d, Future as e, LogValue as f, asyncLogValue as g, type LogValueArg as h, type LogValueState as i, type Sized as j, type Lengthed as k, logValue as l, type SizeOrLength as m, type LoggerInterface as n, LogWriteStream as o, LogCollector as p, MockLogger as q, ResultOK as r, ResultError as s, type WithoutResult as t, exception2Result as u, Some as v, type WithoutOption as w, type MsgFn as x, key as y, type URIObject as z };
|