Files
agentic-studio/network-poc/frontend/node_modules/hast-util-from-parse5/lib/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

38 lines
1001 B
TypeScript

/**
* Transform a `parse5` AST to hast.
*
* @param {DefaultTreeAdapterMap['node']} tree
* `parse5` tree to transform.
* @param {Options | null | undefined} [options]
* Configuration (optional).
* @returns {Nodes}
* hast tree.
*/
export function fromParse5(tree: DefaultTreeAdapterMap["node"], options?: Options | null | undefined): Nodes;
/**
* Info passed around about the current state.
*/
export type State = {
/**
* Corresponding file.
*/
file: VFile | undefined;
/**
* Whether location info was found.
*/
location: boolean;
/**
* Current schema.
*/
schema: Schema;
/**
* Add extra positional info.
*/
verbose: boolean | undefined;
};
import type { DefaultTreeAdapterMap } from 'parse5';
import type { Options } from 'hast-util-from-parse5';
import type { Nodes } from 'hast';
import type { VFile } from 'vfile';
import type { Schema } from 'property-information';
//# sourceMappingURL=index.d.ts.map