UNPKG

@darkgl/slow-json-stringify

Version:
9 lines (8 loc) 403 B
import type { AttrExecutable, AttrType, Serializer, SjsSerializer } from './types.js'; declare const _find: (path: string[]) => any; declare const attr: { (type: 'array', serializer?: SjsSerializer): AttrExecutable; (type: Exclude<AttrType, 'array'>, serializer?: Serializer): AttrExecutable; }; declare const escape: (regex?: RegExp) => (str: string) => string; export { _find, escape, attr };