declare module '@nsure-ai/react-native-client-sdk' { export interface InitializeResult { deviceId: string; } /** * Initialize the nSure singleton with App ID * (uses `initialize(appId, partnerId, configBaseUrl) → Promise` on Android, * and callback‐based sharedInstanceWithAppID on iOS) * @param appId Your application ID. * @param partnerId Optional partner ID. * @param configBaseUrl Optional config base url. * @returns A Promise resolving with an object containing the device ID. */ function initialize(appId: string, partnerId?: string | null, configBaseUrl?: string | null): Promise; /** * Retrieve the device ID. * - Android: calls getDeviceId() → Promise * - iOS: wraps deviceIdWithCallback → Promise * @returns A Promise resolving with the device ID string. */ function getDeviceId(): Promise; /** * Retrieve the SDK version. * - Android: calls getVersion() → Promise * - iOS: wraps versionWithCallback → Promise * @returns A Promise resolving with the SDK version string. */ function getVersion(): Promise; const NSureSDK: { initialize: typeof initialize; getDeviceId: typeof getDeviceId; getVersion: typeof getVersion; }; export default NSureSDK; } declare module '@nsure-ai/react-native-client-sdk/crashLab' { export const crashLab: { objcException(): Promise; iosNSExceptionUncaught(): Promise; iosBadAccess(): Promise; iosJsiCppThrow(): Promise; jvmException(): Promise; jvmUncaughtBgThread(): Promise; jniThrow(): Promise; nativeSignal(): Promise; }; }