import * as Equivalence from "effect/Equivalence"; import type * as SyncPart from "./SyncPart.js"; type CommitParams = { previous: PartValue; value: PartValue; }; type PartValue = Extract["value"]; declare const AttributePartImpl_base: { new (index: number, commit: (params: CommitParams<"attribute">) => void, value: string | null | undefined, eq?: Equivalence.Equivalence): { readonly _tag: "attribute"; readonly index: number; readonly commit: (params: CommitParams<"attribute">) => void; value: string | null | undefined; readonly eq: Equivalence.Equivalence; update(input: string | null | undefined): boolean; getValue(value: unknown): unknown; }; }; export declare class AttributePartImpl extends AttributePartImpl_base implements SyncPart.AttributeSyncPart { readonly name: string; constructor(name: string, index: number, commit: (params: CommitParams<"attribute">) => void, value: PartValue<"attribute">); getValue(value: unknown): string | null | undefined; } declare const BooleanPartImpl_base: { new (index: number, commit: (params: CommitParams<"boolean">) => void, value: boolean | null | undefined, eq?: Equivalence.Equivalence): { readonly _tag: "boolean"; readonly index: number; readonly commit: (params: CommitParams<"boolean">) => void; value: boolean | null | undefined; readonly eq: Equivalence.Equivalence; update(input: boolean | null | undefined): boolean; getValue(value: unknown): unknown; }; }; export declare class BooleanPartImpl extends BooleanPartImpl_base implements SyncPart.BooleanSyncPart { readonly name: string; constructor(name: string, index: number, commit: (params: CommitParams<"boolean">) => void, value: PartValue<"boolean">); getValue(value: unknown): boolean; } declare const ClassNamePartImpl_base: { new (index: number, commit: (params: CommitParams<"className">) => void, value: readonly string[], eq?: Equivalence.Equivalence): { readonly _tag: "className"; readonly index: number; readonly commit: (params: CommitParams<"className">) => void; value: readonly string[]; readonly eq: Equivalence.Equivalence; update(input: readonly string[]): boolean; getValue(value: unknown): unknown; }; }; export declare class ClassNamePartImpl extends ClassNamePartImpl_base implements SyncPart.ClassNameSyncPart { constructor(index: number, commit: (params: CommitParams<"className">) => void, value: PartValue<"className">); getValue(value: unknown): ReadonlyArray; } export declare function splitClassNames(value: string): string[]; declare const CommentPartImpl_base: { new (index: number, commit: (params: CommitParams<"comment">) => void, value: string | null | undefined, eq?: Equivalence.Equivalence): { readonly _tag: "comment"; readonly index: number; readonly commit: (params: CommitParams<"comment">) => void; value: string | null | undefined; readonly eq: Equivalence.Equivalence; update(input: string | null | undefined): boolean; getValue(value: unknown): unknown; }; }; export declare class CommentPartImpl extends CommentPartImpl_base implements SyncPart.CommentSyncPart { getValue(value: unknown): string | null | undefined; } declare const DataPartImpl_base: { new (index: number, commit: (params: CommitParams<"data">) => void, value: Readonly> | null | undefined, eq?: Equivalence.Equivalence> | null | undefined>): { readonly _tag: "data"; readonly index: number; readonly commit: (params: CommitParams<"data">) => void; value: Readonly> | null | undefined; readonly eq: Equivalence.Equivalence> | null | undefined>; update(input: Readonly> | null | undefined): boolean; getValue(value: unknown): unknown; }; }; export declare class DataPartImpl extends DataPartImpl_base implements SyncPart.DataSyncPart { } declare const NodePartImpl_base: { new (index: number, commit: (params: CommitParams<"node">) => void, value: unknown, eq?: Equivalence.Equivalence): { readonly _tag: "node"; readonly index: number; readonly commit: (params: CommitParams<"node">) => void; value: unknown; readonly eq: Equivalence.Equivalence; update(input: unknown): boolean; getValue(value: unknown): unknown; }; }; export declare class NodePartImpl extends NodePartImpl_base implements SyncPart.NodeSyncPart { } declare const PropertyPartImpl_base: { new (index: number, commit: (params: CommitParams<"property">) => void, value: unknown, eq?: Equivalence.Equivalence): { readonly _tag: "property"; readonly index: number; readonly commit: (params: CommitParams<"property">) => void; value: unknown; readonly eq: Equivalence.Equivalence; update(input: unknown): boolean; getValue(value: unknown): unknown; }; }; export declare class PropertyPartImpl extends PropertyPartImpl_base implements SyncPart.PropertySyncPart { readonly name: string; constructor(name: string, index: number, commit: (params: CommitParams<"property">) => void, value: PartValue<"property">); } declare const TextPartImpl_base: { new (index: number, commit: (params: CommitParams<"text">) => void, value: string | null | undefined, eq?: Equivalence.Equivalence): { readonly _tag: "text"; readonly index: number; readonly commit: (params: CommitParams<"text">) => void; value: string | null | undefined; readonly eq: Equivalence.Equivalence; update(input: string | null | undefined): boolean; getValue(value: unknown): unknown; }; }; export declare class TextPartImpl extends TextPartImpl_base implements SyncPart.TextSyncPart { constructor(index: number, commit: (params: CommitParams<"text">) => void, value: PartValue<"text">); getValue(value: unknown): string | null | undefined; } export {}; //# sourceMappingURL=sync-parts.d.ts.map