@better-auth-ui/core
Version:
Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.
18 lines (17 loc) • 893 B
TypeScript
import { skipToken } from '@tanstack/query-core';
import { SiweWalletAccount, SiweWalletManager } from './siwe-wallet';
export declare const siweQueryKeys: {
readonly all: (userId?: string) => readonly ["auth", "user", string | undefined, "siwe"];
readonly wallets: (userId?: string) => readonly ["auth", "user", string | undefined, "siwe", "wallets"];
};
export declare const siweWalletsOptions: (manager: SiweWalletManager | undefined, userId?: string) => {
queryKey: readonly ["auth", "user", string | undefined, "siwe", "wallets"];
queryFn: typeof skipToken | (({ signal }: {
client: import('@tanstack/query-core').QueryClient;
queryKey: readonly unknown[];
signal: AbortSignal;
meta: import('@tanstack/query-core').QueryMeta | undefined;
pageParam?: unknown;
direction?: unknown;
}) => Promise<SiweWalletAccount[]>);
};