UNPKG

@jokio/sdk

Version:

pure js/ts sdk for building decentralised localfirst web apps. Provides tts ai model integrations, realtime p2p communication & crypto encryptions.

23 lines (22 loc) 711 B
import { AuthService } from './auth.service'; import { CryptoService } from './crypto.service'; import { NatsService } from './nats.service'; import { StorageService } from './storage.service'; import { EdgeTtsService } from './tts.service'; export { type UserAuthData } from './auth.service'; export { NatsService } from './nats.service'; export { VoicevoxTtsService } from './voicevoxTts'; type Config = { debug: boolean; authUrl: string; natsUrl: string; storage: StorageService; }; export declare const jok: { setup(config: Partial<Config>): void; auth: AuthService; storage: StorageService; tts: EdgeTtsService; nats: NatsService<unknown>; crypto: CryptoService; };