import * as Fx from "@typed/fx"; import * as Effect from "effect/Effect"; import type { AttrPartNode, ClassNamePartNode, CommentPartNode, PartNode, TextNode } from "../../Template.js"; import { AttributePartImpl, BooleanPartImpl, ClassNamePartImpl, CommentPartImpl, DataPartImpl, NodePartImpl, PropertyPartImpl, TextPartImpl } from "./sync-parts.js"; import type { SyncPart } from "./SyncPart.js"; import type { Renderable } from "../../Renderable.js"; export declare function makeAttributePart(index: number, element: HTMLElement | SVGElement, attr: Attr): AttributePartImpl; export declare function makeAttributeValueSetter(element: HTMLElement | SVGElement, attr: Attr): (value: string | null | undefined) => void; export declare function makeBooleanAttributePart(name: string, index: number, element: HTMLElement | SVGElement): BooleanPartImpl; export declare function makeClassNamePart(index: number, element: HTMLElement | SVGElement, initial?: ReadonlyArray): ClassNamePartImpl; export declare function makeDataPart(index: number, element: HTMLElement | SVGElement): DataPartImpl; export declare function makePropertyPart(name: string, index: number, element: HTMLElement | SVGElement): PropertyPartImpl; export declare function makeTextPart(index: number, text: Text): TextPartImpl; export declare function makeSparsePartHandler(parts: ReadonlyArray, renderables: ReadonlyArray>, makePart: (index: number, setValue: (value: C) => void) => B, handleText: (text: string) => D, join: (values: ReadonlyArray) => X, setValue: (value: X) => Effect.Effect): Fx.Fx; export declare function handleSparseAttribute(element: HTMLElement | SVGElement, attr: Attr, parts: ReadonlyArray, values: ReadonlyArray>, schedule: (f: () => void) => Effect.Effect): Effect.Effect; export declare function handleSparseClassName(element: HTMLElement | SVGElement, parts: ReadonlyArray, values: ReadonlyArray>, schedule: (f: () => void) => Effect.Effect): Effect.Effect; export declare function handleSparseComment(comment: Comment, parts: ReadonlyArray, values: ReadonlyArray>, schedule: (f: () => void) => Effect.Effect): Effect.Effect; export declare function makeNodePart(index: number, comment: Comment, document: Document, text: Text | null, nodes: Array): NodePartImpl; export declare function getPreviousTextSibling(node: Node | null): Text | null; export declare function findPreviousNodes(comment: Comment, index: number, hash: string): Node[]; export declare function makeCommentPart(index: number, comment: Comment): CommentPartImpl; //# sourceMappingURL=render-sync-parts.d.ts.map