import React, { MutableRefObject } from 'react'; import { GenericEmbed } from '../utils'; type InitializerComponentBaseProps = { id: string; embedRef?: MutableRefObject; }; export type InitializerComponentProps = T & InitializerComponentBaseProps; type CreateFnProps = Omit, keyof InitializerComponentBaseProps>; type CreateFn = (id: string, props: CreateFnProps) => GenericEmbed; declare function makeInitializerComponent(createFn: CreateFn, cssFilename: string): ({ id, embedRef, ...props }: InitializerComponentProps) => React.JSX.Element; export { makeInitializerComponent }; //# sourceMappingURL=make-initializer-component.d.ts.map