UNPKG

magically-sdk

Version:

Official SDK for Magically - Build mobile apps with AI

21 lines (20 loc) 710 B
declare const mockStorage: Map<string, string>; declare const mockAsyncStorage: { getItem: jest.Mock<Promise<string | null>, [key: string], any>; setItem: jest.Mock<Promise<void>, [key: string, value: string], any>; removeItem: jest.Mock<Promise<void>, [key: string], any>; clear: jest.Mock<Promise<void>, [], any>; }; declare const mockWebBrowser: { openBrowserAsync: jest.Mock<Promise<{ type: string; }>, [url: string], any>; maybeCompleteAuthSession: jest.Mock<{ type: string; }, [], any>; }; declare const mockPlatform: { OS: string; select: jest.Mock<any, [obj: any], any>; }; export { mockAsyncStorage, mockWebBrowser, mockPlatform, mockStorage };