1 | import type { BaseContext } from "../context/BaseContext.js";
|
2 | import type { Time } from "../type/Units.js";
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare function assert(statement: boolean, error: string): asserts statement;
|
9 |
|
10 |
|
11 |
|
12 | export declare function assertRange(value: number, gte: number, lte?: number): void;
|
13 |
|
14 |
|
15 |
|
16 | export declare function assertContextRunning(context: BaseContext): void;
|
17 |
|
18 |
|
19 |
|
20 | export declare function enterScheduledCallback(insideCallback: boolean): void;
|
21 |
|
22 |
|
23 |
|
24 | export declare function assertUsedScheduleTime(time?: Time): void;
|
25 |
|
26 |
|
27 |
|
28 | interface Logger {
|
29 | log: (args?: any[]) => void;
|
30 | warn: (args?: any[]) => void;
|
31 | }
|
32 |
|
33 |
|
34 |
|
35 | export declare function setLogger(logger: Logger): void;
|
36 |
|
37 |
|
38 |
|
39 | export declare function log(...args: any[]): void;
|
40 |
|
41 |
|
42 |
|
43 | export declare function warn(...args: any[]): void;
|
44 | export {};
|