Forked from hermes-frontend, stripped openclaw/bun specifics: - Auth tokens: openclaw_session -> nyx_session - Vite proxy: localhost:3003 -> localhost:8000 (assay) - Prod WS: wss://assay.loop42.de/ws - Workspace paths: removed openclaw-specific paths - Added missing deps: @heroicons/vue, overlayscrollbars-vue - Branding: title -> nyx Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
724 B
TypeScript
23 lines
724 B
TypeScript
//#region src/toml.d.ts
|
|
/**
|
|
* Converts a [TOML](https://toml.io/) string into an object.
|
|
*
|
|
* @NOTE Comments and indentation is not preserved after parsing.
|
|
*
|
|
* @template T The type of the return value.
|
|
* @param text The TOML string to parse.
|
|
* @returns The JavaScript value converted from the TOML string.
|
|
*/
|
|
declare function parseTOML<T = unknown>(text: string): T;
|
|
/**
|
|
* Converts a JavaScript value to a [TOML](https://toml.io/) string.
|
|
*
|
|
* @NOTE Comments and indentation is not preserved in the output.
|
|
*
|
|
* @param value
|
|
* @param options
|
|
* @returns The YAML string converted from the JavaScript value.
|
|
*/
|
|
declare function stringifyTOML(value: any): string;
|
|
//#endregion
|
|
export { parseTOML, stringifyTOML }; |