Files
agentic-studio/network-poc/frontend/node_modules/hast-util-raw/index.d.ts
Jaakko Vanhala a8c4af0975 Frontend uudelleenrakennettu: Astro-komponentit, Wasm pääsäikeessä, ei Workeria
Vanha frontend siirretty temp/. Uusi rakenne:
- StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro
- global.css erillinen
- Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava)
- Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md
- Ei tokenisointia eikä koodilaboratoriota

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 20:17:39 +03:00

44 lines
1.2 KiB
TypeScript

import type {VFile} from 'vfile'
export {raw} from './lib/index.js'
/**
* Configuration.
*/
export interface Options {
/**
* Corresponding virtual file representing the input document (optional).
*/
file?: VFile | null | undefined
/**
* List of custom hast node types to pass through (as in, keep) (optional).
*
* If the passed through nodes have children, those children are expected to
* be hast again and will be handled.
*/
passThrough?: Array<string> | null | undefined
/**
* Whether to disallow irregular tags in `raw` nodes according to GFM
* tagfilter
* (default: `false`).
*
* This affects the following tags,
* grouped by their kind:
*
* * `RAWTEXT`: `iframe`, `noembed`, `noframes`, `style`, `xmp`
* * `RCDATA`: `textarea`, `title`
* * `SCRIPT_DATA`: `script`
* * `PLAINTEXT`: `plaintext`
*
* When you know that you do not want authors to write these tags,
* you can enable this option to prevent their use from running amok.
*
* See:
* [*Disallowed Raw HTML* in
* `cmark-gfm`](https://github.github.com/gfm/#disallowed-raw-html-extension-).
*/
tagfilter?: boolean | null | undefined
}