import { Optional } from '@ephox/katamari';
import { SugarElement } from '@ephox/sugar';
import { AlloyComponent } from '../api/component/ComponentApi';
import { AlloySpec } from '../api/component/SpecTypes';
type SpecBuilder = (spec: AlloySpec, optObs: Optional<SugarElement<Node>>) => AlloyComponent;
declare const patchSpecChild: (parent: SugarElement<Element>, index: number, spec: AlloySpec, build: SpecBuilder) => AlloyComponent;
declare const patchSpecChildren: (parent: SugarElement<Element>, specs: AlloySpec[], build: SpecBuilder) => AlloyComponent[];
declare const patchDomChildren: (parent: SugarElement<Element>, nodes: SugarElement<Node>[]) => SugarElement<Node>[];
export { patchDomChildren, patchSpecChild, patchSpecChildren };
//# sourceMappingURL=Patching.d.ts.map