/** * Manages state for Enoki authentication. * * @returns EnokiFlow instance. */ export declare function useEnokiFlow(): import("@mysten/enoki").EnokiFlow; /** * Use the current ZkLogin state. */ export declare function useZkLogin(): Readonly>; /** * Use the current ZkLogin Session */ export declare function useZkLoginSession(): { readonly initialized: boolean; readonly value: { readonly ephemeralKeyPair: string; readonly maxEpoch: number; readonly randomness: string; readonly expiresAt: number; readonly jwt?: string | undefined; readonly proof?: { readonly proofPoints: { readonly a: { readonly [Symbol.iterator]: () => Iterator; readonly length: number; }; readonly b: { readonly [Symbol.iterator]: () => Iterator & { length: number; }, any, any>; readonly length: number; }; readonly c: { readonly [Symbol.iterator]: () => Iterator; readonly length: number; }; }; readonly issBase64Details: { readonly value: string; readonly indexMod4: number; }; readonly headerBase64: string; readonly addressSeed: string; } | undefined; } | null; }; /** * An auth callback to handle redirect after a successful log in * * * @example * * ```ts * const { handled } = useAuthCallback(); * * watchEffect(() => { * if (handled.value) { * // redirect to the home page * router.push('/') * } * }) * ``` */ export declare function useAuthCallback(): { handled: import("vue").Ref; state: import("vue").Ref; }; //# sourceMappingURL=lib.d.ts.map