import { NativeModuleError } from "../errors/NativeModuleError"; import FKPlatform from "../FKPlatform"; import { NativeModuleResponseInternal } from "./NativeModuleResponse"; export interface FKExtension { newPlatformInstance: (clientId: string) => FKPlatform; nativeModuleResolve?: (response: NativeModuleResponseInternal) => void; nativeModuleReject?: (error: NativeModuleError) => void; }