import { Optional } from '@ephox/katamari';
import { SugarElement } from '@ephox/sugar';
import { AlloyComponent } from './ComponentApi';
import { AlloySpec, PremadeSpec } from './SpecTypes';
export interface ExternalElement {
    readonly uid?: string;
    readonly element: SugarElement<Node>;
}
declare const text: (textContent: string) => PremadeSpec;
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