full site update

This commit is contained in:
2025-07-24 18:46:24 +02:00
parent bfe2b90d8d
commit 37a6e0ab31
6912 changed files with 540482 additions and 361712 deletions

58
node_modules/ultrahtml/dist/transformers/scope.d.ts generated vendored Normal file
View File

@@ -0,0 +1,58 @@
// Generated by dts-bundle-generator v9.5.1
type Node$1 = DocumentNode | ElementNode | TextNode | CommentNode | DoctypeNode;
type NodeType = typeof DOCUMENT_NODE | typeof ELEMENT_NODE | typeof TEXT_NODE | typeof COMMENT_NODE | typeof DOCTYPE_NODE;
interface Location$1 {
start: number;
end: number;
}
interface BaseNode {
type: NodeType;
loc: [
Location$1,
Location$1
];
parent: Node$1;
[key: string]: any;
}
interface LiteralNode extends BaseNode {
value: string;
}
interface ParentNode$1 extends BaseNode {
children: Node$1[];
}
interface DocumentNode extends Omit<ParentNode$1, "parent"> {
type: typeof DOCUMENT_NODE;
attributes: Record<string, string>;
parent: undefined;
}
interface ElementNode extends ParentNode$1 {
type: typeof ELEMENT_NODE;
name: string;
attributes: Record<string, string>;
}
interface TextNode extends LiteralNode {
type: typeof TEXT_NODE;
}
interface CommentNode extends LiteralNode {
type: typeof COMMENT_NODE;
}
interface DoctypeNode extends LiteralNode {
type: typeof DOCTYPE_NODE;
}
declare const DOCUMENT_NODE = 0;
declare const ELEMENT_NODE = 1;
declare const TEXT_NODE = 2;
declare const COMMENT_NODE = 3;
declare const DOCTYPE_NODE = 4;
export interface ScopeOptions {
hash?: string;
attribute?: string;
}
declare function scope(opts?: ScopeOptions): (doc: Node$1) => Promise<Node$1>;
export {
scope as default,
};
export {};