astro-ghostcms/.pnpm-store/v3/files/ad/2514d2779a6ac1f5720dc375a16...

26 lines
767 B
Plaintext

declare module 'devalue' {
/**
* Turn a value into the JavaScript that creates an equivalent value
*
*/
export function uneval(value: any, replacer?: (value: any) => string | void): string;
/**
* Turn a value into a JSON string that can be parsed with `devalue.parse`
*
*/
export function stringify(value: any, reducers?: Record<string, (value: any) => any>): string;
/**
* Revive a value serialized with `devalue.stringify`
*
*/
export function parse(serialized: string, revivers?: Record<string, (value: any) => any>): any;
/**
* Revive a value flattened with `devalue.stringify`
*
*/
export function unflatten(parsed: number | any[], revivers?: Record<string, (value: any) => any>): any;
}
//# sourceMappingURL=index.d.ts.map