import { Optional } from '@ephox/katamari';
import { SugarElement } from '@ephox/sugar';
import * as FunctionAnnotator from '../../debugging/FunctionAnnotator';
import { AlloyComponent } from '../component/ComponentApi';
import { AlloySpec, PremadeSpec } from '../component/SpecTypes';
declare const premade: (comp: AlloyComponent) => PremadeSpec;
declare const isPremade: (element: SugarElement<Node>) => boolean;
declare const getPremade: (spec: AlloySpec) => Optional<AlloyComponent>;
declare const makeApi: <A, R>(f: (api: A, comp: AlloyComponent, ...rest: any[]) => R) => FunctionAnnotator.FunctionWithAnnotation<(comp: AlloyComponent, ...rest: any[]) => R>;
export { makeApi, premade, getPremade, isPremade };
//# sourceMappingURL=GuiTypes.d.ts.map