import { SwissEphModuleFactory } from "../src/types";

interface SwissEphModule {
  _malloc(size: number): number;
  _free(ptr: number): void;
  getValue(ptr: number, type: string): number;
  stringToUTF8(str: string, ptr: number, maxLength: number): void;
  cwrap(name: string, returnType: string | null, paramTypes: (string | null)[]): Function;
}

declare const moduleFactory: SwissEphModuleFactory;
export default moduleFactory; 