import type Expression from "../types/expression.js"; import type Factory from "../types/fatctory"; import type ObservablePath from "../types/observable-path.js"; export default function elementFactory(tag: string, attributes?: [key: string, value: string][], binds?: [type: "oneway" | "twoway" | "interpolation", key: string, value: Expression, observables: ObservablePath[]][], events?: [key: string, value: Expression][], customDirectives?: [key: Expression, value: Expression, observables: [key: ObservablePath[], value: ObservablePath[]]][], childs?: Factory[]): Factory;