import type { IComponentInstance } from '@amazon-devices/react-native-kepler/Libraries/ComponentInstance/ComponentInstanceManager'; /** * This function is the headless entry function, which is defined by api user. */ export type HeadlessEntryPoint = () => Promise; export type HeadlessEntryPointFactory = () => HeadlessEntryPoint; /** * This function is the headless entry function, which is defined by api user, * and takes an instance of IComponentInstance as an argument. */ export type HeadlessEntryPoint2 = (instance: IComponentInstance) => Promise; export type HeadlessEntryPointFactory2 = () => HeadlessEntryPoint2;