jeopi-utils 16.2.13 → 16.2.14
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/CHANGELOG.md +3 -1
- package/README.md +2 -2
- package/package.json +6 -6
- package/src/dirs.ts +123 -75
- package/src/logger.ts +1 -1
- package/src/procmgr.ts +2 -2
- package/dist/types/abortable.d.ts +0 -32
- package/dist/types/async.d.ts +0 -6
- package/dist/types/binary.d.ts +0 -17
- package/dist/types/cli.d.ts +0 -117
- package/dist/types/color.d.ts +0 -102
- package/dist/types/dirs.d.ts +0 -260
- package/dist/types/env.d.ts +0 -74
- package/dist/types/fetch-retry.d.ts +0 -94
- package/dist/types/format.d.ts +0 -37
- package/dist/types/frontmatter.d.ts +0 -25
- package/dist/types/fs-error.d.ts +0 -31
- package/dist/types/glob.d.ts +0 -28
- package/dist/types/index.d.ts +0 -35
- package/dist/types/json-parse.d.ts +0 -48
- package/dist/types/json.d.ts +0 -4
- package/dist/types/logger.d.ts +0 -83
- package/dist/types/loop-phase.d.ts +0 -10
- package/dist/types/mermaid-ascii.d.ts +0 -11
- package/dist/types/mime.d.ts +0 -29
- package/dist/types/module-timer.d.ts +0 -1
- package/dist/types/path-tree.d.ts +0 -76
- package/dist/types/path.d.ts +0 -2
- package/dist/types/peek-file.d.ts +0 -29
- package/dist/types/postmortem.d.ts +0 -37
- package/dist/types/procmgr.d.ts +0 -29
- package/dist/types/prompt.d.ts +0 -18
- package/dist/types/ptree.d.ts +0 -108
- package/dist/types/ring.d.ts +0 -93
- package/dist/types/runtime-install.d.ts +0 -68
- package/dist/types/sanitize-text.d.ts +0 -29
- package/dist/types/snowflake.d.ts +0 -25
- package/dist/types/stream.d.ts +0 -68
- package/dist/types/tab-spacing.d.ts +0 -24
- package/dist/types/temp.d.ts +0 -17
- package/dist/types/timing-buffer.d.ts +0 -22
- package/dist/types/tls-fetch.d.ts +0 -37
- package/dist/types/type-guards.d.ts +0 -3
- package/dist/types/vendor/mermaid-ascii/ascii/ansi.d.ts +0 -41
- package/dist/types/vendor/mermaid-ascii/ascii/canvas.d.ts +0 -89
- package/dist/types/vendor/mermaid-ascii/ascii/class-diagram.d.ts +0 -7
- package/dist/types/vendor/mermaid-ascii/ascii/converter.d.ts +0 -12
- package/dist/types/vendor/mermaid-ascii/ascii/draw.d.ts +0 -66
- package/dist/types/vendor/mermaid-ascii/ascii/edge-bundling.d.ts +0 -48
- package/dist/types/vendor/mermaid-ascii/ascii/edge-routing.d.ts +0 -43
- package/dist/types/vendor/mermaid-ascii/ascii/er-diagram.d.ts +0 -7
- package/dist/types/vendor/mermaid-ascii/ascii/grid.d.ts +0 -56
- package/dist/types/vendor/mermaid-ascii/ascii/index.d.ts +0 -65
- package/dist/types/vendor/mermaid-ascii/ascii/multiline-utils.d.ts +0 -27
- package/dist/types/vendor/mermaid-ascii/ascii/pathfinder.d.ts +0 -17
- package/dist/types/vendor/mermaid-ascii/ascii/sequence.d.ts +0 -7
- package/dist/types/vendor/mermaid-ascii/ascii/shapes/circle.d.ts +0 -11
- package/dist/types/vendor/mermaid-ascii/ascii/shapes/corners.d.ts +0 -34
- package/dist/types/vendor/mermaid-ascii/ascii/shapes/diamond.d.ts +0 -11
- package/dist/types/vendor/mermaid-ascii/ascii/shapes/hexagon.d.ts +0 -11
- package/dist/types/vendor/mermaid-ascii/ascii/shapes/index.d.ts +0 -26
- package/dist/types/vendor/mermaid-ascii/ascii/shapes/rectangle.d.ts +0 -31
- package/dist/types/vendor/mermaid-ascii/ascii/shapes/rounded.d.ts +0 -11
- package/dist/types/vendor/mermaid-ascii/ascii/shapes/special.d.ts +0 -59
- package/dist/types/vendor/mermaid-ascii/ascii/shapes/stadium.d.ts +0 -17
- package/dist/types/vendor/mermaid-ascii/ascii/shapes/state.d.ts +0 -30
- package/dist/types/vendor/mermaid-ascii/ascii/shapes/types.d.ts +0 -55
- package/dist/types/vendor/mermaid-ascii/ascii/types.d.ts +0 -206
- package/dist/types/vendor/mermaid-ascii/ascii/validate.d.ts +0 -51
- package/dist/types/vendor/mermaid-ascii/ascii/xychart.d.ts +0 -2
- package/dist/types/vendor/mermaid-ascii/class/parser.d.ts +0 -6
- package/dist/types/vendor/mermaid-ascii/class/types.d.ts +0 -102
- package/dist/types/vendor/mermaid-ascii/er/parser.d.ts +0 -6
- package/dist/types/vendor/mermaid-ascii/er/types.d.ts +0 -76
- package/dist/types/vendor/mermaid-ascii/index.d.ts +0 -1
- package/dist/types/vendor/mermaid-ascii/multiline-utils.d.ts +0 -9
- package/dist/types/vendor/mermaid-ascii/parser.d.ts +0 -7
- package/dist/types/vendor/mermaid-ascii/sequence/parser.d.ts +0 -6
- package/dist/types/vendor/mermaid-ascii/sequence/types.d.ts +0 -130
- package/dist/types/vendor/mermaid-ascii/text-metrics.d.ts +0 -21
- package/dist/types/vendor/mermaid-ascii/types.d.ts +0 -114
- package/dist/types/vendor/mermaid-ascii/xychart/colors.d.ts +0 -25
- package/dist/types/vendor/mermaid-ascii/xychart/parser.d.ts +0 -6
- package/dist/types/vendor/mermaid-ascii/xychart/types.d.ts +0 -145
- package/dist/types/which.d.ts +0 -37
- package/dist/types/worker-host.d.ts +0 -47
package/dist/types/ring.d.ts
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A fixed-capacity circular buffer that supports efficient push/pop/shift/unshift operations.
|
|
3
|
-
* When the buffer is full, adding new items overwrites the oldest items (FIFO behavior).
|
|
4
|
-
*
|
|
5
|
-
* @template T The type of elements stored in the buffer.
|
|
6
|
-
*/
|
|
7
|
-
export declare class RingBuffer<T> {
|
|
8
|
-
#private;
|
|
9
|
-
readonly capacity: number;
|
|
10
|
-
/**
|
|
11
|
-
* Creates a new ring buffer with the specified capacity.
|
|
12
|
-
*
|
|
13
|
-
* @param capacity - The maximum number of elements the buffer can hold. Must be positive.
|
|
14
|
-
*/
|
|
15
|
-
constructor(capacity: number);
|
|
16
|
-
/**
|
|
17
|
-
* The number of elements currently in the buffer.
|
|
18
|
-
*/
|
|
19
|
-
get length(): number;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the buffer is at full capacity.
|
|
22
|
-
*/
|
|
23
|
-
get isFull(): boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Whether the buffer is empty (contains no elements).
|
|
26
|
-
*/
|
|
27
|
-
get isEmpty(): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Adds an item to the end of the buffer.
|
|
30
|
-
* If the buffer is full, the oldest item is overwritten and returned.
|
|
31
|
-
*
|
|
32
|
-
* @param item - The item to add.
|
|
33
|
-
* @returns The overwritten item if the buffer was full, otherwise `undefined`.
|
|
34
|
-
*/
|
|
35
|
-
push(item: T): T | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* Removes and returns the first (oldest) item from the buffer.
|
|
38
|
-
*
|
|
39
|
-
* @returns The removed item, or `undefined` if the buffer is empty.
|
|
40
|
-
*/
|
|
41
|
-
shift(): T | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* Removes and returns the last (newest) item from the buffer.
|
|
44
|
-
*
|
|
45
|
-
* @returns The removed item, or `undefined` if the buffer is empty.
|
|
46
|
-
*/
|
|
47
|
-
pop(): T | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* Adds an item to the beginning of the buffer.
|
|
50
|
-
* If the buffer is full, the newest item is overwritten and returned.
|
|
51
|
-
*
|
|
52
|
-
* @param item - The item to add.
|
|
53
|
-
* @returns The overwritten item if the buffer was full, otherwise `undefined`.
|
|
54
|
-
*/
|
|
55
|
-
unshift(item: T): T | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* Returns the element at the specified index without removing it.
|
|
58
|
-
* Supports negative indices (e.g., `-1` for the last element).
|
|
59
|
-
*
|
|
60
|
-
* @param index - The zero-based index, or negative index from the end.
|
|
61
|
-
* @returns The element at the index, or `undefined` if the index is out of bounds.
|
|
62
|
-
*/
|
|
63
|
-
at(index: number): T | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* Returns the first (oldest) element without removing it.
|
|
66
|
-
*
|
|
67
|
-
* @returns The first element, or `undefined` if the buffer is empty.
|
|
68
|
-
*/
|
|
69
|
-
peek(): T | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* Returns the last (newest) element without removing it.
|
|
72
|
-
*
|
|
73
|
-
* @returns The last element, or `undefined` if the buffer is empty.
|
|
74
|
-
*/
|
|
75
|
-
peekBack(): T | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* Removes all elements from the buffer, resetting it to an empty state.
|
|
78
|
-
*/
|
|
79
|
-
clear(): void;
|
|
80
|
-
/**
|
|
81
|
-
* Returns an iterator that yields elements in logical order (oldest to newest).
|
|
82
|
-
* Allows the buffer to be used with `for...of` loops and spread syntax.
|
|
83
|
-
*
|
|
84
|
-
* @yields Elements in FIFO order.
|
|
85
|
-
*/
|
|
86
|
-
[Symbol.iterator](): Iterator<T>;
|
|
87
|
-
/**
|
|
88
|
-
* Creates a new array containing all elements in logical order (oldest to newest).
|
|
89
|
-
*
|
|
90
|
-
* @returns A new array with all buffer elements.
|
|
91
|
-
*/
|
|
92
|
-
toArray(): T[];
|
|
93
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Walk a conditional `exports` target (string, array of fallbacks, or a
|
|
3
|
-
* condition object) and return the first relative path that matches a runtime
|
|
4
|
-
* condition in declaration order. Returns `null` when nothing applies (e.g.
|
|
5
|
-
* an `import`-only entry).
|
|
6
|
-
*/
|
|
7
|
-
export declare function selectConditionalTarget(target: unknown): string | null;
|
|
8
|
-
/**
|
|
9
|
-
* Split a bare specifier into its package name and optional subpath, handling
|
|
10
|
-
* scoped packages (`@scope/name/sub` → `@scope/name` + `sub`).
|
|
11
|
-
*/
|
|
12
|
-
export declare function splitBareSpecifier(specifier: string): {
|
|
13
|
-
packageName: string;
|
|
14
|
-
subpath: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Resolve a bare specifier against an installed `node_modules` directory,
|
|
18
|
-
* honoring `exports` (CommonJS conditions), then `main`, then `index.js`.
|
|
19
|
-
* Returns an absolute file path, or `null` when the package/entry is absent.
|
|
20
|
-
*/
|
|
21
|
-
export declare function resolveRuntimeModule(runtimeNodeModules: string, specifier: string): string | null;
|
|
22
|
-
export interface RuntimeResolverOptions {
|
|
23
|
-
/** Absolute path to the runtime cache's `node_modules`. */
|
|
24
|
-
runtimeNodeModules: string;
|
|
25
|
-
/** Bare specifier → absolute file path overrides (e.g. `sharp` → no-op stub). */
|
|
26
|
-
stubs?: Record<string, string>;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Patch `node:module`'s resolver (idempotently) so bare specifiers that the
|
|
30
|
-
* stock compiled-binary resolver cannot find fall back to the registered
|
|
31
|
-
* runtime caches. Stock resolution is tried first and kept for anything
|
|
32
|
-
* outside the registered roots (bundled imports, node builtins, host or
|
|
33
|
-
* extension trees). Multiple runtime roots may register; they are consulted
|
|
34
|
-
* in registration order.
|
|
35
|
-
*
|
|
36
|
-
* One stock "success" is distrusted: the compiled-binary resolver ignores
|
|
37
|
-
* `main`/`exports` for real-FS packages (Bun #1763), so a package shipping
|
|
38
|
-
* its TS source next to `dist/` (e.g. `@huggingface/hub`'s root `index.ts`)
|
|
39
|
-
* resolves to the wrong file. When the stock hit lands inside a registered
|
|
40
|
-
* runtime root, the manifest-aware resolution wins.
|
|
41
|
-
*/
|
|
42
|
-
export declare function installRuntimeModuleResolver({ runtimeNodeModules, stubs }: RuntimeResolverOptions): void;
|
|
43
|
-
/** Pinned dependency set materialized into a runtime cache directory. */
|
|
44
|
-
export interface RuntimeInstallSpec {
|
|
45
|
-
dependencies: Record<string, string>;
|
|
46
|
-
/** Version pins forced across the whole runtime tree (bun `overrides`), e.g. dislodging a transitive dep. */
|
|
47
|
-
overrides?: Record<string, string>;
|
|
48
|
-
/** Packages whose lifecycle scripts bun may run during the install. */
|
|
49
|
-
trustedDependencies?: string[];
|
|
50
|
-
}
|
|
51
|
-
export type RuntimeInstallPhase = "initiate" | "download" | "done";
|
|
52
|
-
export interface EnsureRuntimeInstalledOptions {
|
|
53
|
-
/** Directory owning the runtime `package.json` + `node_modules`. */
|
|
54
|
-
runtimeDir: string;
|
|
55
|
-
install: RuntimeInstallSpec;
|
|
56
|
-
/** Package whose installed manifest marks the runtime complete; defaults to the first dependency. */
|
|
57
|
-
probePackage?: string;
|
|
58
|
-
/** Phase notifications (progress UI); not emitted when already installed. */
|
|
59
|
-
onPhase?: (phase: RuntimeInstallPhase) => void;
|
|
60
|
-
lockAttempts?: number;
|
|
61
|
-
lockSleepMs?: number;
|
|
62
|
-
}
|
|
63
|
-
export declare function writeRuntimeManifest(runtimeDir: string, install: RuntimeInstallSpec): Promise<void>;
|
|
64
|
-
/**
|
|
65
|
-
* Materialize a pinned dependency set into `runtimeDir` (idempotent,
|
|
66
|
-
* cross-process safe via a lock directory). Returns `runtimeDir`.
|
|
67
|
-
*/
|
|
68
|
-
export declare function ensureRuntimeInstalled(options: EnsureRuntimeInstalledOptions): Promise<string>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Strip ANSI escape sequences, remove control characters / lone surrogates,
|
|
3
|
-
* and normalize line endings.
|
|
4
|
-
*
|
|
5
|
-
* Bun-native implementation of the former native `sanitizeText` (see
|
|
6
|
-
* `crates/pi-natives/src/text.rs::sanitize_text`). JavaScript strings are
|
|
7
|
-
* already UTF-16 code-unit arrays. `toWellFormed()` handles the uncommon
|
|
8
|
-
* malformed path; when it changes the input, replacement characters are
|
|
9
|
-
* dropped and the normalized result goes through the well-formed sanitizer.
|
|
10
|
-
*
|
|
11
|
-
* Fast path: well-formed input with no controls or ANSI returns the original
|
|
12
|
-
* string after the control probe.
|
|
13
|
-
*/
|
|
14
|
-
export declare function sanitizeText(text: string): string;
|
|
15
|
-
/**
|
|
16
|
-
* Escape the three XML-significant characters (`&`, `<`, `>`) in text destined
|
|
17
|
-
* for an XML/markup element body. Allocation-conscious: returns the input
|
|
18
|
-
* unchanged (same reference) when nothing needs escaping. Quotes are left as-is
|
|
19
|
-
* — use it for element text, not attribute values.
|
|
20
|
-
*/
|
|
21
|
-
export declare function escapeXmlText(input: string): string;
|
|
22
|
-
/**
|
|
23
|
-
* Escape XML-significant characters for an attribute VALUE: the three body
|
|
24
|
-
* characters (`&`, `<`, `>`) plus the double quote (`"` → `"`) that would
|
|
25
|
-
* otherwise close the attribute. Allocation-conscious: returns the input
|
|
26
|
-
* unchanged (same reference) when nothing needs escaping. Use it for attribute
|
|
27
|
-
* values; {@link escapeXmlText} is for element bodies and leaves `"` intact.
|
|
28
|
-
*/
|
|
29
|
-
export declare function escapeXmlAttribute(input: string): string;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
type Snowflake = string & {
|
|
2
|
-
readonly __brand: unique symbol;
|
|
3
|
-
};
|
|
4
|
-
declare namespace Snowflake {
|
|
5
|
-
const PATTERN: RegExp;
|
|
6
|
-
const EPOCH_TIMESTAMP = 1420070400000;
|
|
7
|
-
const MAX_SEQUENCE = 4194303;
|
|
8
|
-
function formatParts(dt: number, seq: number): Snowflake;
|
|
9
|
-
class Source {
|
|
10
|
-
#private;
|
|
11
|
-
constructor(sequence?: number);
|
|
12
|
-
get sequence(): number;
|
|
13
|
-
set sequence(v: number);
|
|
14
|
-
reset(): void;
|
|
15
|
-
generate(timestamp: number): Snowflake;
|
|
16
|
-
}
|
|
17
|
-
function next(timestamp?: number): Snowflake;
|
|
18
|
-
function valid(value: string): value is Snowflake;
|
|
19
|
-
function lowerbound(timelike: Date | number | Snowflake): Snowflake;
|
|
20
|
-
function upperbound(timelike: Date | number | Snowflake): Snowflake;
|
|
21
|
-
function getSequence(value: Snowflake): number;
|
|
22
|
-
function getTimestamp(value: Snowflake): number;
|
|
23
|
-
function getDate(value: Snowflake): Date;
|
|
24
|
-
}
|
|
25
|
-
export { Snowflake };
|
package/dist/types/stream.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
export declare function readLines(stream: ReadableStream<Uint8Array>, signal?: AbortSignal): AsyncGenerator<Uint8Array>;
|
|
2
|
-
export declare function readJsonl<T>(stream: ReadableStream<Uint8Array>, signal?: AbortSignal): AsyncGenerator<T>;
|
|
3
|
-
/**
|
|
4
|
-
* Stream parsed JSON objects from SSE `data:` lines.
|
|
5
|
-
*
|
|
6
|
-
* Thin wrapper over {@link readSseEvents}: yields one parsed JSON value per
|
|
7
|
-
* dispatched SSE event, skipping events with empty `data` and stopping at the
|
|
8
|
-
* OpenAI-style `[DONE]` sentinel. If your consumer doesn't care about `event:`
|
|
9
|
-
* names or doesn't need a custom parse step, use this; otherwise call
|
|
10
|
-
* `readSseEvents` directly.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* for await (const obj of readSseJson(response.body!)) {
|
|
15
|
-
* console.log(obj);
|
|
16
|
-
* }
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export type SseEventObserver = (event: ServerSentEvent) => void;
|
|
20
|
-
export declare function readSseJson<T>(stream: ReadableStream<Uint8Array>, signal?: AbortSignal, onEvent?: SseEventObserver): AsyncGenerator<T>;
|
|
21
|
-
/**
|
|
22
|
-
* A single Server-Sent Event dispatched on a blank-line boundary.
|
|
23
|
-
*
|
|
24
|
-
* - `event` is the value of the most recent `event:` field, or `null` if none.
|
|
25
|
-
* - `data` is the concatenation (joined by `\n`) of every `data:` field in the
|
|
26
|
-
* event, exactly as required by the SSE spec.
|
|
27
|
-
* - `raw` is the list of decoded non-empty lines that made up the event,
|
|
28
|
-
* preserved for diagnostic context (error reporting, debugging). The
|
|
29
|
-
* dispatching blank line is not included.
|
|
30
|
-
*/
|
|
31
|
-
export interface ServerSentEvent {
|
|
32
|
-
event: string | null;
|
|
33
|
-
data: string;
|
|
34
|
-
raw: string[];
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Stream raw Server-Sent Events from an HTTP response body.
|
|
38
|
-
*
|
|
39
|
-
* Yields one `ServerSentEvent` per blank-line dispatch. The consumer is
|
|
40
|
-
* responsible for parsing `data` (e.g. JSON, plain text, error envelope).
|
|
41
|
-
* Use `readSseJson` instead when every event is a single `data:` JSON object
|
|
42
|
-
* and you don't need access to the `event:` field.
|
|
43
|
-
*
|
|
44
|
-
* Internally backed by a Buffer-based line reader (`ConcatSink`) so chunk
|
|
45
|
-
* concatenation is O(n) and never triggers per-line string slicing of the
|
|
46
|
-
* accumulated buffer.
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* ```ts
|
|
50
|
-
* for await (const sse of readSseEvents(response.body!)) {
|
|
51
|
-
* if (sse.event === "ping") continue;
|
|
52
|
-
* const obj = JSON.parse(sse.data);
|
|
53
|
-
* }
|
|
54
|
-
* ```
|
|
55
|
-
*/
|
|
56
|
-
export declare function readSseEvents(stream: ReadableStream<Uint8Array>, signal?: AbortSignal): AsyncGenerator<ServerSentEvent>;
|
|
57
|
-
/**
|
|
58
|
-
* Parse a complete JSONL string, skipping malformed lines instead of throwing.
|
|
59
|
-
*
|
|
60
|
-
* Uses `Bun.JSONL.parseChunk` internally. On parse errors, the malformed
|
|
61
|
-
* region is skipped up to the next newline and parsing continues.
|
|
62
|
-
*
|
|
63
|
-
* @example
|
|
64
|
-
* ```ts
|
|
65
|
-
* const entries = parseJsonlLenient<MyType>(fileContents);
|
|
66
|
-
* ```
|
|
67
|
-
*/
|
|
68
|
-
export declare function parseJsonlLenient<T>(buffer: string): T[];
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const MIN_TAB_WIDTH = 1;
|
|
2
|
-
export declare const MAX_TAB_WIDTH = 16;
|
|
3
|
-
export declare const DEFAULT_TAB_WIDTH = 3;
|
|
4
|
-
/**
|
|
5
|
-
* `.editorconfig`-derived formatting options for an LSP `textDocument/formatting` request.
|
|
6
|
-
*
|
|
7
|
-
* Both fields are absent when the resolved `.editorconfig` chain does not pin them, so callers
|
|
8
|
-
* can layer their own fallbacks (content sniffing, project defaults) underneath. Returned values
|
|
9
|
-
* are clamped to {@link MIN_TAB_WIDTH}..{@link MAX_TAB_WIDTH}.
|
|
10
|
-
*/
|
|
11
|
-
export interface EditorConfigFormatting {
|
|
12
|
-
/** Effective indent width in columns, from `indent_size` or `tab_width`. */
|
|
13
|
-
tabSize?: number;
|
|
14
|
-
/** `true` for `indent_style = space`, `false` for `indent_style = tab` (or `indent_size = tab`). */
|
|
15
|
-
insertSpaces?: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Resolve `.editorconfig` formatting hints for `file` without falling back to any default.
|
|
19
|
-
*
|
|
20
|
-
* Used by the LSP format-on-write path so a missing `.editorconfig` declaration falls through
|
|
21
|
-
* to caller-provided defaults instead of clobbering the file with the renderer's
|
|
22
|
-
* display tab width (issue #2329).
|
|
23
|
-
*/
|
|
24
|
-
export declare function getEditorConfigFormatting(file?: string | null, projectDir?: string | null): EditorConfigFormatting;
|
package/dist/types/temp.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare class TempDir {
|
|
2
|
-
#private;
|
|
3
|
-
private constructor();
|
|
4
|
-
static createSync(prefix?: string): TempDir;
|
|
5
|
-
static create(prefix?: string): Promise<TempDir>;
|
|
6
|
-
path(): string;
|
|
7
|
-
absolute(): string;
|
|
8
|
-
remove(): Promise<void>;
|
|
9
|
-
removeSync(): void;
|
|
10
|
-
toString(): string;
|
|
11
|
-
join(...paths: string[]): string;
|
|
12
|
-
[Symbol.asyncDispose](): Promise<void>;
|
|
13
|
-
[Symbol.dispose](): void;
|
|
14
|
-
}
|
|
15
|
-
/** Removes a path recursively, retrying transient Windows deletion failures. */
|
|
16
|
-
export declare function removeWithRetries(target: string): Promise<void>;
|
|
17
|
-
export declare function removeSyncWithRetries(target: string): void;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared contract between the {@link module-timer} preload and {@link logger}'s
|
|
3
|
-
* timing tree. Kept in its own dependency-free module so the preload can import
|
|
4
|
-
* it without pulling in winston (via logger) and the logger can drain the buffer
|
|
5
|
-
* without importing the Bun-plugin preload.
|
|
6
|
-
*/
|
|
7
|
-
export interface ModuleLoadEvent {
|
|
8
|
-
/** Absolute or Bun-resolved module path. */
|
|
9
|
-
path: string;
|
|
10
|
-
/** `performance.now()` timestamp captured at Bun `onLoad` entry. */
|
|
11
|
-
start: number;
|
|
12
|
-
/** Inclusive module window: `onLoad` entry → appended final marker. */
|
|
13
|
-
durationMs: number;
|
|
14
|
-
/** Own top-level body / TLA time: prepended body marker → appended final marker. */
|
|
15
|
-
bodyMs?: number;
|
|
16
|
-
/** Resolved static children imported by this module. */
|
|
17
|
-
imports: string[];
|
|
18
|
-
}
|
|
19
|
-
/** The append-only buffer the preload pushes into (created on first access). */
|
|
20
|
-
export declare function moduleLoadBuffer(): ModuleLoadEvent[];
|
|
21
|
-
/** Drain and return all buffered events, leaving the buffer empty. */
|
|
22
|
-
export declare function drainModuleLoadEvents(): ModuleLoadEvent[];
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `fetch`-compatible function. Accepts any callable matching the standard
|
|
3
|
-
* fetch signature; `preconnect` is optional because non-Bun runtimes
|
|
4
|
-
* (browsers, test mocks) won't expose it.
|
|
5
|
-
*/
|
|
6
|
-
export type FetchImpl = ((input: string | URL | Request, init?: RequestInit) => Promise<Response>) & {
|
|
7
|
-
preconnect?: typeof globalThis.fetch.preconnect;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* `NODE_EXTRA_CA_CERTS` was set but unusable (path does not exist). This is
|
|
11
|
-
* a config/contract error, not a transient transport fault — it is never
|
|
12
|
-
* retried.
|
|
13
|
-
*/
|
|
14
|
-
export declare class ExtraCaError extends Error {
|
|
15
|
-
constructor(message: string, options?: {
|
|
16
|
-
cause?: unknown;
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
/** Test seam: drop the cached PEM so a follow-up call re-reads the env. */
|
|
20
|
-
export declare function __resetExtraCaCache(): void;
|
|
21
|
-
/**
|
|
22
|
-
* Wrap `fetchImpl` so every call honours `NODE_EXTRA_CA_CERTS`. Idempotent:
|
|
23
|
-
* a fetch already wrapped is returned unchanged so repeated composition
|
|
24
|
-
* (Anthropic auth-retry replays, request-debug fan-out) never stacks
|
|
25
|
-
* wrappers. When the env var is unset the original fetch is returned, so
|
|
26
|
-
* default deployments pay nothing.
|
|
27
|
-
*/
|
|
28
|
-
export declare function wrapFetchForExtraCa(fetchImpl: FetchImpl): FetchImpl;
|
|
29
|
-
/**
|
|
30
|
-
* Convenience for options-bag composition (e.g. the stream-entry path in
|
|
31
|
-
* `jeopi-ai`'s `stream.ts`, which mirrors `withRequestDebugFetch` so
|
|
32
|
-
* the proxy/debug/extra-CA wrappers compose uniformly). No-op when the env
|
|
33
|
-
* var is unset.
|
|
34
|
-
*/
|
|
35
|
-
export declare function withExtraCaFetch<T extends {
|
|
36
|
-
fetch?: FetchImpl;
|
|
37
|
-
} | undefined>(options: T): T;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { CharRole, AsciiTheme, ColorMode } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Default ASCII theme derived from the SVG renderer's color palette.
|
|
4
|
-
* Uses the same mixing ratios to maintain visual consistency.
|
|
5
|
-
*/
|
|
6
|
-
export declare const DEFAULT_ASCII_THEME: AsciiTheme;
|
|
7
|
-
/**
|
|
8
|
-
* Detect the best color mode for the current environment.
|
|
9
|
-
*
|
|
10
|
-
* Terminal detection order:
|
|
11
|
-
* 1. COLORTERM=truecolor or COLORTERM=24bit → truecolor
|
|
12
|
-
* 2. TERM contains "256color" → ansi256
|
|
13
|
-
* 3. TERM is set and not "dumb" → ansi16
|
|
14
|
-
*
|
|
15
|
-
* Browser: returns 'html' (uses <span> tags with inline styles).
|
|
16
|
-
* Unknown/piped: returns 'none'.
|
|
17
|
-
*/
|
|
18
|
-
export declare function detectColorMode(): ColorMode;
|
|
19
|
-
/**
|
|
20
|
-
* Generate the ANSI escape sequence for a role color.
|
|
21
|
-
*/
|
|
22
|
-
export declare function getAnsiColor(role: CharRole, theme: AsciiTheme, mode: ColorMode): string;
|
|
23
|
-
/**
|
|
24
|
-
* Get the ANSI reset sequence.
|
|
25
|
-
*/
|
|
26
|
-
export declare function getAnsiReset(mode: ColorMode): string;
|
|
27
|
-
/**
|
|
28
|
-
* Wrap a character with ANSI color codes based on its role.
|
|
29
|
-
*/
|
|
30
|
-
export declare function colorizeChar(char: string, role: CharRole | null, theme: AsciiTheme, mode: ColorMode): string;
|
|
31
|
-
/**
|
|
32
|
-
* Colorize an entire line efficiently by grouping consecutive same-role characters.
|
|
33
|
-
* This reduces the number of escape sequences (ANSI) or span tags (HTML) in the output.
|
|
34
|
-
*/
|
|
35
|
-
export declare function colorizeLine(chars: string[], roles: (CharRole | null)[], theme: AsciiTheme, mode: ColorMode): string;
|
|
36
|
-
/**
|
|
37
|
-
* Colorize a text string with a direct hex color.
|
|
38
|
-
* Used by renderers that need per-cell color control (e.g. multi-series xychart).
|
|
39
|
-
* Handles all output modes: ANSI (16/256/truecolor) and HTML.
|
|
40
|
-
*/
|
|
41
|
-
export declare function colorizeText(text: string, hex: string, mode: ColorMode): string;
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import type { Canvas, DrawingCoord, RoleCanvas, CharRole, AsciiTheme, ColorMode } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Create a blank canvas filled with spaces.
|
|
4
|
-
* Dimensions are inclusive: mkCanvas(3, 2) creates a 4x3 grid (indices 0..3, 0..2).
|
|
5
|
-
*/
|
|
6
|
-
export declare function mkCanvas(x: number, y: number): Canvas;
|
|
7
|
-
/** Create a blank canvas with the same dimensions as the given canvas. */
|
|
8
|
-
export declare function copyCanvas(source: Canvas): Canvas;
|
|
9
|
-
/**
|
|
10
|
-
* Create a blank role canvas filled with nulls.
|
|
11
|
-
* Same dimensions as mkCanvas — column-major, roleCanvas[x][y].
|
|
12
|
-
*/
|
|
13
|
-
export declare function mkRoleCanvas(x: number, y: number): RoleCanvas;
|
|
14
|
-
/** Create a blank role canvas with the same dimensions as the given role canvas. */
|
|
15
|
-
export declare function copyRoleCanvas(source: RoleCanvas): RoleCanvas;
|
|
16
|
-
/**
|
|
17
|
-
* Grow the role canvas to fit at least (newX, newY), preserving existing roles.
|
|
18
|
-
* Mutates the role canvas in place and returns it.
|
|
19
|
-
*/
|
|
20
|
-
export declare function increaseRoleCanvasSize(roleCanvas: RoleCanvas, newX: number, newY: number): RoleCanvas;
|
|
21
|
-
/**
|
|
22
|
-
* Set a role at a specific coordinate.
|
|
23
|
-
* Expands the role canvas if necessary.
|
|
24
|
-
*/
|
|
25
|
-
export declare function setRole(roleCanvas: RoleCanvas, x: number, y: number, role: CharRole): void;
|
|
26
|
-
/**
|
|
27
|
-
* Merge role canvases — same logic as mergeCanvases but for roles.
|
|
28
|
-
* Non-null roles in overlays overwrite null roles in base.
|
|
29
|
-
*/
|
|
30
|
-
export declare function mergeRoleCanvases(base: RoleCanvas, offset: DrawingCoord, ...overlays: RoleCanvas[]): RoleCanvas;
|
|
31
|
-
/** Returns [maxX, maxY] — the highest valid indices in each dimension. */
|
|
32
|
-
export declare function getCanvasSize(canvas: Canvas): [number, number];
|
|
33
|
-
/**
|
|
34
|
-
* Grow the canvas to fit at least (newX, newY), preserving existing content.
|
|
35
|
-
* Mutates the canvas in place and returns it.
|
|
36
|
-
*/
|
|
37
|
-
export declare function increaseSize(canvas: Canvas, newX: number, newY: number): Canvas;
|
|
38
|
-
export declare function isJunctionChar(c: string): boolean;
|
|
39
|
-
export declare function mergeJunctions(c1: string, c2: string): string;
|
|
40
|
-
/**
|
|
41
|
-
* Merge overlay canvases onto a base canvas at the given offset.
|
|
42
|
-
* Non-space characters in overlays overwrite the base.
|
|
43
|
-
* When both characters are Unicode junction chars, they're merged intelligently.
|
|
44
|
-
*/
|
|
45
|
-
export declare function mergeCanvases(base: Canvas, offset: DrawingCoord, useAscii: boolean, ...overlays: Canvas[]): Canvas;
|
|
46
|
-
/** Options for converting canvas to string with optional coloring. */
|
|
47
|
-
export interface CanvasToStringOptions {
|
|
48
|
-
/** Role canvas for applying colors. If not provided, output is plain text. */
|
|
49
|
-
roleCanvas?: RoleCanvas;
|
|
50
|
-
/** Color mode for terminal output. Default: 'none' */
|
|
51
|
-
colorMode?: ColorMode;
|
|
52
|
-
/** Theme colors for ASCII output. Uses default theme if not provided. */
|
|
53
|
-
theme?: AsciiTheme;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Convert the canvas to a multi-line string (row by row, left to right).
|
|
57
|
-
* Optionally applies ANSI color codes based on character roles.
|
|
58
|
-
*/
|
|
59
|
-
export declare function canvasToString(canvas: Canvas, options?: CanvasToStringOptions): string;
|
|
60
|
-
/**
|
|
61
|
-
* Flip the canvas vertically (mirror across the horizontal center).
|
|
62
|
-
* Reverses row order within each column and remaps directional characters
|
|
63
|
-
* (arrows, corners, junctions) so they point the correct way after flip.
|
|
64
|
-
*
|
|
65
|
-
* Used to transform a TD-rendered canvas into BT output.
|
|
66
|
-
* Mutates the canvas in place and returns it.
|
|
67
|
-
*/
|
|
68
|
-
export declare function flipCanvasVertically(canvas: Canvas): Canvas;
|
|
69
|
-
/**
|
|
70
|
-
* Flip the role canvas vertically to match flipCanvasVertically.
|
|
71
|
-
* Mutates the role canvas in place and returns it.
|
|
72
|
-
*/
|
|
73
|
-
export declare function flipRoleCanvasVertically(roleCanvas: RoleCanvas): RoleCanvas;
|
|
74
|
-
/**
|
|
75
|
-
* Draw text string onto the canvas starting at the given coordinate.
|
|
76
|
-
* By default, preserves existing non-space characters (labels don't overwrite each other).
|
|
77
|
-
* Set forceOverwrite=true to always overwrite (for box content).
|
|
78
|
-
*/
|
|
79
|
-
export declare function drawText(canvas: Canvas, start: DrawingCoord, text: string, forceOverwrite?: boolean): void;
|
|
80
|
-
/**
|
|
81
|
-
* Set the canvas size to fit all grid columns and rows.
|
|
82
|
-
* Called after layout to ensure the canvas covers the full drawing area.
|
|
83
|
-
*/
|
|
84
|
-
export declare function setCanvasSizeToGrid(canvas: Canvas, columnWidth: Map<number, number>, rowHeight: Map<number, number>): void;
|
|
85
|
-
/**
|
|
86
|
-
* Set the role canvas size to match the grid dimensions.
|
|
87
|
-
* Should be called alongside setCanvasSizeToGrid.
|
|
88
|
-
*/
|
|
89
|
-
export declare function setRoleCanvasSizeToGrid(roleCanvas: RoleCanvas, columnWidth: Map<number, number>, rowHeight: Map<number, number>): void;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { AsciiConfig, AsciiTheme, ColorMode } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Render a Mermaid class diagram to ASCII/Unicode text.
|
|
4
|
-
*
|
|
5
|
-
* Pipeline: parse → build boxes → level-based layout → draw boxes → draw relationships → string.
|
|
6
|
-
*/
|
|
7
|
-
export declare function renderClassAscii(text: string, config: AsciiConfig, colorMode?: ColorMode, theme?: AsciiTheme): string;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { MermaidGraph } from '../types';
|
|
2
|
-
import type { AsciiGraph, AsciiConfig } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Convert a parsed MermaidGraph into an AsciiGraph ready for grid layout.
|
|
5
|
-
*
|
|
6
|
-
* Key mappings:
|
|
7
|
-
* - MermaidGraph.nodes (Map) → ordered AsciiNode[] preserving insertion order
|
|
8
|
-
* - MermaidGraph.edges → AsciiEdge[] with resolved node references
|
|
9
|
-
* - MermaidGraph.subgraphs → AsciiSubgraph[] with parent/child tree
|
|
10
|
-
* - Node labels are used as display names (not raw IDs)
|
|
11
|
-
*/
|
|
12
|
-
export declare function convertToAsciiGraph(parsed: MermaidGraph, config: AsciiConfig): AsciiGraph;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { Canvas, DrawingCoord, AsciiGraph, AsciiNode, AsciiEdge, AsciiSubgraph, AsciiEdgeStyle } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Draw a node using its shape type.
|
|
4
|
-
* Returns a standalone canvas containing the rendered shape.
|
|
5
|
-
*
|
|
6
|
-
* For basic shapes (rectangle, rounded), uses grid-determined dimensions
|
|
7
|
-
* to ensure consistent sizing across nodes in the same column.
|
|
8
|
-
* For special shapes (diamond, circle, state pseudo-states, etc.),
|
|
9
|
-
* uses shape-specific dimension calculation but centers the content
|
|
10
|
-
* within the grid cell dimensions to ensure proper vertical alignment.
|
|
11
|
-
*/
|
|
12
|
-
export declare function drawNode(node: AsciiNode, graph: AsciiGraph): Canvas;
|
|
13
|
-
/**
|
|
14
|
-
* Draw a node box with centered label text.
|
|
15
|
-
* Returns a standalone canvas containing just the box.
|
|
16
|
-
* Box size is determined by the grid column/row sizes for the node's position.
|
|
17
|
-
*/
|
|
18
|
-
export declare function drawBox(node: AsciiNode, graph: AsciiGraph): Canvas;
|
|
19
|
-
/**
|
|
20
|
-
* Draw a multi-section box with horizontal dividers between sections.
|
|
21
|
-
* Used by class diagrams (header | attributes | methods) and ER diagrams (header | attributes).
|
|
22
|
-
* Each section is an array of text lines to render left-aligned with padding.
|
|
23
|
-
*
|
|
24
|
-
* @param sections - Array of sections, each section is an array of text lines
|
|
25
|
-
* @param useAscii - true for ASCII chars, false for Unicode box-drawing
|
|
26
|
-
* @param padding - horizontal padding inside the box (default 1)
|
|
27
|
-
* @returns A standalone Canvas containing the multi-section box
|
|
28
|
-
*/
|
|
29
|
-
export declare function drawMultiBox(sections: string[][], useAscii: boolean, padding?: number): Canvas;
|
|
30
|
-
/**
|
|
31
|
-
* Draw a line between two drawing coordinates using orthogonal Manhattan routing.
|
|
32
|
-
* Returns the list of coordinates that were drawn on.
|
|
33
|
-
* offsetFrom/offsetTo control how many cells to skip at the start/end.
|
|
34
|
-
*
|
|
35
|
-
* All lines use 90° bends only - no diagonal lines are produced.
|
|
36
|
-
* For diagonal directions, uses horizontal-first routing (draws horizontal
|
|
37
|
-
* segment, then vertical segment).
|
|
38
|
-
*/
|
|
39
|
-
export declare function drawLine(canvas: Canvas, from: DrawingCoord, to: DrawingCoord, offsetFrom: number, offsetTo: number, useAscii: boolean, style?: AsciiEdgeStyle): DrawingCoord[];
|
|
40
|
-
/**
|
|
41
|
-
* Draw a complete arrow (edge) between two nodes.
|
|
42
|
-
* Returns 6 separate canvases for layered compositing:
|
|
43
|
-
* [path, boxStart, arrowHeadEnd, arrowHeadStart, corners, label]
|
|
44
|
-
*
|
|
45
|
-
* Supports bidirectional arrows via edge.hasArrowStart and edge.hasArrowEnd.
|
|
46
|
-
*/
|
|
47
|
-
export declare function drawArrow(graph: AsciiGraph, edge: AsciiEdge): [Canvas, Canvas, Canvas, Canvas, Canvas, Canvas];
|
|
48
|
-
/** Draw a subgraph border rectangle. */
|
|
49
|
-
export declare function drawSubgraphBox(sg: AsciiSubgraph, graph: AsciiGraph): Canvas;
|
|
50
|
-
/** Draw a subgraph label centered in its header area. Supports multi-line labels. */
|
|
51
|
-
export declare function drawSubgraphLabel(sg: AsciiSubgraph, graph: AsciiGraph): [Canvas, DrawingCoord];
|
|
52
|
-
/**
|
|
53
|
-
* Main draw function — renders the entire graph onto the canvas.
|
|
54
|
-
* Drawing order matters for correct layering:
|
|
55
|
-
* 1. Subgraph borders (bottom layer)
|
|
56
|
-
* 2. Node boxes
|
|
57
|
-
* 3. Edge paths (lines)
|
|
58
|
-
* 4. Edge corners
|
|
59
|
-
* 5. Arrowheads
|
|
60
|
-
* 6. Box-start junctions
|
|
61
|
-
* 7. Edge labels
|
|
62
|
-
* 8. Subgraph labels (top layer)
|
|
63
|
-
*
|
|
64
|
-
* Also fills the roleCanvas with character roles for colored output.
|
|
65
|
-
*/
|
|
66
|
-
export declare function drawGraph(graph: AsciiGraph): Canvas;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { AsciiGraph, EdgeBundle, GridCoord } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Analyze graph edges and create bundles for parallel links.
|
|
4
|
-
*
|
|
5
|
-
* Groups edges by:
|
|
6
|
-
* - Fan-in: Multiple edges sharing the same target (A & B --> C)
|
|
7
|
-
* - Fan-out: Multiple edges sharing the same source (A --> B & C)
|
|
8
|
-
*
|
|
9
|
-
* Only creates bundles when:
|
|
10
|
-
* - Graph direction is TD (top-down) - LR routing handles merging naturally
|
|
11
|
-
* - 2+ edges share the endpoint
|
|
12
|
-
* - All edges have the same style (solid/dotted/thick)
|
|
13
|
-
* - None of the edges have labels (labels would overlap at junction)
|
|
14
|
-
* - Edges are not self-loops
|
|
15
|
-
*
|
|
16
|
-
* @returns Array of bundles. Each edge can belong to at most one bundle.
|
|
17
|
-
*/
|
|
18
|
-
export declare function analyzeEdgeBundles(graph: AsciiGraph): EdgeBundle[];
|
|
19
|
-
/**
|
|
20
|
-
* Calculate the optimal junction point for a bundle.
|
|
21
|
-
*
|
|
22
|
-
* For fan-in (A & B --> C):
|
|
23
|
-
* - Junction is placed between the sources and the target
|
|
24
|
-
* - In TD: above the target, horizontally centered between sources
|
|
25
|
-
* - In LR: left of the target, vertically centered between sources
|
|
26
|
-
*
|
|
27
|
-
* For fan-out (A --> B & C):
|
|
28
|
-
* - Junction is placed between the source and the targets
|
|
29
|
-
* - In TD: below the source, horizontally centered between targets
|
|
30
|
-
* - In LR: right of the source, vertically centered between targets
|
|
31
|
-
*/
|
|
32
|
-
export declare function calculateJunctionPoint(graph: AsciiGraph, bundle: EdgeBundle): GridCoord;
|
|
33
|
-
/**
|
|
34
|
-
* Route all edges in a bundle through the junction point.
|
|
35
|
-
*
|
|
36
|
-
* For fan-in bundles:
|
|
37
|
-
* 1. Route each source → junction (stored in edge.pathToJunction)
|
|
38
|
-
* 2. Route junction → target (stored in bundle.sharedPath)
|
|
39
|
-
*
|
|
40
|
-
* For fan-out bundles:
|
|
41
|
-
* 1. Route source → junction (stored in bundle.sharedPath)
|
|
42
|
-
* 2. Route junction → each target (stored in edge.pathToJunction)
|
|
43
|
-
*/
|
|
44
|
-
export declare function routeBundledEdges(graph: AsciiGraph, bundle: EdgeBundle): void;
|
|
45
|
-
/**
|
|
46
|
-
* Process all bundles in a graph: calculate junction points and route edges.
|
|
47
|
-
*/
|
|
48
|
-
export declare function processBundles(graph: AsciiGraph): void;
|