@parischap/pretty-print
Version:
A functional library to pretty-print and treeify objects
31 lines • 874 B
TypeScript
/**
* Alias for ASContextStyler.Type<PPValue.All> (see @parischap/ansi-style/ContextStyler.ts and
* Value.ts)
*/
import { ASContextStyler, ASPalette } from '@parischap/ansi-styles';
import * as PPValue from './Value.js';
/**
* Type of a ValueBasedStyler
*
* @category Models
*/
export type Type = ASContextStyler.Type<PPValue.All>;
/**
* Constructor of a depth-indexed ValueBasedStyler
*
* @category Constructors
*/
export declare const makeDepthIndexed: (palette: ASPalette.Type) => Type;
/**
* Constructor of a type-indexed ValueBasedStyler
*
* @category Constructors
*/
export declare const makeTypeIndexed: (palette: ASPalette.Type) => Type;
/**
* Constructor of a key-type-indexed ValueBasedStyler
*
* @category Constructors
*/
export declare const makeKeyTypeIndexed: (palette: ASPalette.Type) => Type;
//# sourceMappingURL=ValueBasedStyler.d.ts.map