import type { AuthSecretStorage, CoValueClassOrSchema, ID, JazzContextType } from "jazz-tools"; import { Account } from "jazz-tools"; import Provider from "./Provider.svelte"; export { Provider as JazzSvelteProvider }; /** * The key for the Jazz context. */ export declare const JAZZ_CTX: {}; export declare const JAZZ_AUTH_CTX: {}; /** * The Jazz context. */ export type JazzContext = { current?: JazzContextType; }; /** * Get the current Jazz context. * @returns The current Jazz context. */ export declare function getJazzContext(): { current: JazzContextType; }; export declare function getAuthSecretStorage(): AuthSecretStorage; /** * Triggers the `onAccept` function when an invite link is detected in the URL. * * @param invitedObjectSchema - The invited object schema. * @param onAccept - Function to call when the invite is accepted. * @param forValueHint - Hint for the value. * @returns The accept invite hook. */ export declare class InviteListener { constructor({ invitedObjectSchema, onAccept, forValueHint, }: { invitedObjectSchema: V; onAccept: (coValueID: ID) => void; forValueHint?: string; }); } //# sourceMappingURL=jazz.svelte.d.ts.map