import { CurrentInternalUser, CurrentUser, GetUserOptions, StackClientApp } from "./hexclave-app/index.js"; //#region src/lib/hooks.d.ts type GetUserOptions$1 = GetUserOptions & { projectIdMustMatch?: string; }; /** * Returns the current user object. Equivalent to `useStackApp().useUser()`. * * @returns the current user */ declare function useUser(options: GetUserOptions$1 & { or: 'redirect' | 'throw'; projectIdMustMatch: "internal"; }): CurrentInternalUser; declare function useUser(options: GetUserOptions$1 & { or: 'redirect' | 'throw'; }): CurrentUser; declare function useUser(options: GetUserOptions$1 & { projectIdMustMatch: "internal"; }): CurrentInternalUser | null; declare function useUser(options?: GetUserOptions$1): CurrentUser | CurrentInternalUser | null; /** * Returns the current Hexclave app associated with the HexclaveProvider. * * @returns the current Hexclave app */ declare function useHexclaveApp(options?: { projectIdMustMatch?: ProjectId; }): StackClientApp; /** * Returns the current Stack app associated with the StackProvider. * * @deprecated Use `useHexclaveApp` from the `@hexclave/*` package instead — same symbol, new brand name. See https://docs.hexclave.com/migration. * * @returns the current Stack app */ declare function useStackApp(options?: { projectIdMustMatch?: ProjectId; }): StackClientApp; //#endregion export { useHexclaveApp, useStackApp, useUser }; //# sourceMappingURL=hooks.d.ts.map