UNPKG

functionalscript

Version:

FunctionalScript is a purely functional subset of JavaScript

15 lines (14 loc) 773 B
import type * as djs from '../module.f.ts'; import type * as O from '../../types/object/module.f.ts'; import { type List } from '../../types/list/module.f.ts'; export declare const undefinedSerialize: string[]; type RefCounter = [number, number, boolean]; type Entry = O.Entry<djs.Unknown>; type Entries = List<Entry>; type MapEntries = (entries: Entries) => Entries; type Refs = Map<djs.Unknown, RefCounter>; export declare const serializeWithoutConst: (mapEntries: MapEntries) => (value: djs.Unknown) => List<string>; export declare const stringify: (sort: MapEntries) => (djs: djs.Unknown) => string; export declare const stringifyAsTree: (mapEntries: MapEntries) => (value: djs.Unknown) => string; export declare const countRefs: (djs: djs.Unknown) => Refs; export {};