site/node_modules/micromark/dev/lib/preprocess.d.ts
2024-10-14 08:09:33 +02:00

14 lines
450 B
TypeScript

/**
* @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>