import type { FieldProcessor } from '@ephox/boulder'; import type { PartTypeAdt } from '../../parts/PartType'; import type { AlloySpec, SketchSpec } from '../component/SpecTypes'; import type { CompositeSketchDetail, CompositeSketchSpec, SingleSketchDetail, SingleSketchSpec } from './Sketcher'; export type SingleSketchFactory = (detail: D, specWithUid: S) => SketchSpec; export type CompositeSketchFactory = (detail: D, components: AlloySpec[], spec: S, externals: any) => SketchSpec; declare const single: (owner: string, schema: FieldProcessor[], factory: SingleSketchFactory, spec: S) => SketchSpec; declare const composite: (owner: string, schema: FieldProcessor[], partTypes: PartTypeAdt[], factory: CompositeSketchFactory, spec: S) => SketchSpec; declare const supplyUid: (spec: S) => S & { uid: string; }; export { supplyUid, single, composite }; //# sourceMappingURL=UiSketcher.d.ts.map