site/node_modules/micromark/dev/lib/preprocess.d.ts

14 lines
450 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
/**
* @returns {Preprocessor}
*/
export function preprocess(): Preprocessor
export type Chunk = import('micromark-util-types').Chunk
export type Code = import('micromark-util-types').Code
export type Encoding = import('micromark-util-types').Encoding
export type Value = import('micromark-util-types').Value
export type Preprocessor = (
value: Value,
encoding?: Encoding | null | undefined,
end?: boolean | null | undefined
) => Array<Chunk>