import { Account, AccountClass, AnyAccountSchema, CoValueFromRaw, InMemoryKVStore, InstanceOfSchema, JazzContextManager, SyncConfig } from "jazz-tools"; import { JazzContextManagerAuthProps } from "jazz-tools"; import { LocalStorageKVStore } from "./auth/LocalStorageKVStore.js"; import { BaseBrowserContextOptions } from "./createBrowserContext.js"; export type JazzContextManagerProps & CoValueFromRaw) | AnyAccountSchema> = { guestMode?: boolean; sync: SyncConfig; onLogOut?: () => void; logOutReplacement?: () => void; onAnonymousAccountDiscarded?: (anonymousAccount: InstanceOfSchema) => Promise; storage?: BaseBrowserContextOptions["storage"]; AccountSchema?: S; defaultProfileName?: string; }; export declare class JazzBrowserContextManager & CoValueFromRaw) | AnyAccountSchema> extends JazzContextManager, JazzContextManagerProps> { getKvStore(): InMemoryKVStore | LocalStorageKVStore; getNewContext(props: JazzContextManagerProps, authProps?: JazzContextManagerAuthProps): Promise<{ guest: import("jazz-tools").AnonymousJazzAgent; node: import("cojson").LocalNode; done: () => void; logOut: () => Promise; addConnectionListener: (() => () => void) | ((listener: (connected: boolean) => void) => () => void); connected: (() => boolean) | (() => boolean); } | { me: InstanceOfSchema; node: import("cojson").LocalNode; authSecretStorage: import("jazz-tools").AuthSecretStorage; done: () => void; logOut: () => Promise; addConnectionListener: (() => () => void) | ((listener: (connected: boolean) => void) => () => void); connected: (() => boolean) | (() => boolean); }>; propsChanged(props: JazzContextManagerProps): boolean; } //# sourceMappingURL=BrowserContextManager.d.ts.map