import { LocalNode } from "cojson"; import { Account, AccountClass, AnyAccountSchema, AuthCredentials, AuthSecretStorage, CoValue, CoValueFromRaw, NewAccountProps, SyncConfig } from "jazz-tools"; import { KvStore } from "./storage/kv-store-context.js"; import { SQLiteDatabaseDriverAsync } from "cojson"; export type BaseReactNativeContextOptions = { sync: SyncConfig; reconnectionTimeout?: number; storage?: SQLiteDatabaseDriverAsync | "disabled"; authSecretStorage: AuthSecretStorage; }; export declare function createJazzReactNativeGuestContext(options: BaseReactNativeContextOptions): Promise<{ guest: import("jazz-tools").AnonymousJazzAgent; node: LocalNode; done: () => void; logOut: () => Promise; addConnectionListener: (() => () => void) | ((listener: (connected: boolean) => void) => () => void); connected: (() => boolean) | (() => boolean); }>; export type ReactNativeContextOptions & CoValueFromRaw) | AnyAccountSchema> = { credentials?: AuthCredentials; AccountSchema?: S; newAccountProps?: NewAccountProps; defaultProfileName?: string; } & BaseReactNativeContextOptions; export declare function createJazzReactNativeContext & CoValueFromRaw) | AnyAccountSchema>(options: ReactNativeContextOptions): Promise<{ me: import("jazz-tools").InstanceOfSchema; node: LocalNode; authSecretStorage: AuthSecretStorage; done: () => void; logOut: () => Promise; addConnectionListener: (() => () => void) | ((listener: (connected: boolean) => void) => () => void); connected: (() => boolean) | (() => boolean); }>; /** @category Invite Links */ export declare function createInviteLink(value: C, role: "reader" | "writer" | "admin", { baseURL, valueHint }?: { baseURL?: string; valueHint?: string; }): string; export declare function setupKvStore(kvStore: KvStore | undefined): KvStore | undefined; //# sourceMappingURL=platform.d.ts.map