import { Optional } from '@ephox/katamari';
import { SugarElement } from '@ephox/sugar';
import { AlloyComponent } from './ComponentApi';
import { AlloySpec, PremadeSpec } from './SpecTypes';
declare const text: (textContent: string) => PremadeSpec;
export interface ExternalElement {
    uid?: string;
    element: SugarElement<Node>;
}
declare const external: (spec: ExternalElement) => PremadeSpec;
declare const buildOrPatch: (spec: AlloySpec, obsoleted: Optional<SugarElement<Node>>) => AlloyComponent;
declare const build: (spec: AlloySpec) => AlloyComponent;
declare const premade: (comp: AlloyComponent) => PremadeSpec;
export { build, buildOrPatch, premade, external, text };
//# sourceMappingURL=GuiFactory.d.ts.map