UNPKG

magically-sdk

Version:

Official SDK for Magically - Build mobile apps with AI

28 lines (27 loc) 1.48 kB
import { MagicallySDK } from './MagicallySDK'; import { SDKConfig } from './types'; /** * Initialize Magically SDK with configuration * Call this once at app startup (like Sentry.init()) */ export declare function init(config?: SDKConfig): void; /** * Create a new Magically client (Supabase-like pattern) * Useful for edge functions and multiple instances */ export declare function createClient(config?: SDKConfig): MagicallySDK; declare const magically: { readonly auth: import("./MagicallyAuth").MagicallyAuth; readonly data: import("./MagicallyData").MagicallyData; readonly llm: import("./MagicallyLLM").MagicallyLLM; readonly files: import("./MagicallyFiles").MagicallyFiles; readonly functions: import("./MagicallyFunctions").MagicallyFunctions; }; export { MagicallySDK } from './MagicallySDK'; export { MagicallyAuth } from './MagicallyAuth'; export { MagicallyData } from './MagicallyData'; export { MagicallyLLM } from './MagicallyLLM'; export { MagicallyFiles } from './MagicallyFiles'; export { MagicallyFunctions } from './MagicallyFunctions'; export type { User, AuthState, DataQueryOptions, DataQueryResult, DataInsertOptions, StandardFields, LLMMessage, InvokeOptions, ChatOptions, ImageOptions, InvokeTextResponse, ChatResponse, SingleImageResponse, MultipleImageResponse, ModelsResponse, FileUploadOptions, FileListOptions, UploadedFile, FileListResponse, SDKConfig, AuthCallbackMessage } from './types'; export default magically;