import { type Optional, type Result } from '@ephox/katamari'; import type { AlloyComponent } from '../api/component/ComponentApi'; import type { ComponentDetail, SimpleOrSketchSpec, StructDomSchema } from '../api/component/SpecTypes'; import type { AlloyEventRecord } from '../api/events/AlloyEvents'; import type { DomDefinitionDetail } from '../dom/DomDefinition'; import { type DomModification } from '../dom/DomModification'; export interface CustomDetail { 'dom': StructDomSchema; 'components': AlloyComponent[]; 'uid': string; 'events': AlloyEventRecord; 'apis': A; 'eventOrder': Record; 'domModification': Optional; 'originalSpec': SimpleOrSketchSpec; 'debug.sketcher': string; } declare const toInfo: (spec: ComponentDetail) => Result, any>; declare const toDefinition: (detail: CustomDetail) => DomDefinitionDetail; declare const toModification: (detail: CustomDetail) => DomModification; declare const toApis: (info: CustomDetail) => A; declare const toEvents: (info: CustomDetail) => AlloyEventRecord; export { toApis, toDefinition, toEvents, toInfo, toModification }; //# sourceMappingURL=CustomDefinition.d.ts.map