import type { PopupContext, RedirectContext, NativeContext } from '../types.js'; export { createCredential, getCredential } from '@strivacity/sdk-core/utils/credentials'; /** * Retrieves the Strivacity SDK context for Popup or Redirect flows. * * @template T The type of context, either PopupContext or RedirectContext. * * @throws {Error} If the Strivacity SDK context is not found. * * @returns {T} The Strivacity SDK context, typed as either PopupContext or RedirectContext or NativeContext. */ export declare const useStrivacity: () => T;