/opt/canhelp/node_modules/better-auth/dist/client/solid
Edit: /opt/canhelp/node_modules/better-auth/dist/client/solid/index.d.mts (5640B)
import { HasRequiredKeys, Prettify, PrettifyDeep, RequiredKeysOf, StripEmptyObjects, UnionToIntersection } from "../../types/helper.mjs";
import { InferActions, InferClientAPI, InferErrorCodes, IsSignal, SessionQueryParams } from "../types.mjs";
import { BetterAuthClientOptions, BetterAuthClientPlugin } from "@better-auth/core";
import { BASE_ERROR_CODES } from "@better-auth/core/error";
import * as _better_fetch_fetch0 from "@better-fetch/fetch";
import { BetterFetchError } from "@better-fetch/fetch";
import { Accessor } from "solid-js";
export * from "nanostores";
export * from "@better-fetch/fetch";
//#region src/client/solid/index.d.ts
type InferResolvedHooks
= O extends {
plugins: Array;
} ? UnionToIntersection infer Atoms) ? Atoms extends Record ? { [key in keyof Atoms as IsSignal extends true ? never : key extends string ? `use${Capitalize}` : never]: () => Accessor> } : {} : {} : {}> : {};
declare function createAuthClient