astro-ghostcms/.pnpm-store/v3/files/c5/559fd5c680b197b7d22b4e81f1e...

17 lines
514 B
Plaintext

/**
* Parse the tree (and raw nodes) again, keeping positional info okay.
*
* @param {Options | null | undefined} [options]
* Configuration (optional).
* @returns
* Transform.
*/
export default function rehypeRaw(options?: Options | null | undefined): (tree: Root, file: VFile) => Root;
export type Root = import('hast').Root;
export type RawOptions = import('hast-util-raw').Options;
export type VFile = import('vfile').VFile;
/**
* Configuration.
*/
export type Options = Omit<RawOptions, 'file'>;