import * as _better_auth_core0 from "@better-auth/core"; import * as better_call0 from "better-call"; //#region src/integrations/tanstack-start.d.ts /** * TanStack Start cookie plugin for React. * * This plugin automatically handles cookie setting for TanStack Start with React. * It uses `@tanstack/react-start-server` to set cookies. * * For Solid.js, use `better-auth/tanstack-start/solid` instead. * * @example * ```ts * import { tanstackStartCookies } from "better-auth/tanstack-start"; * * const auth = betterAuth({ * plugins: [tanstackStartCookies()], * }); * ``` */ declare const tanstackStartCookies: () => { id: "tanstack-start-cookies"; version: string; hooks: { after: { matcher(ctx: _better_auth_core0.HookEndpointContext): true; handler: (inputContext: better_call0.MiddlewareInputContext) => Promise; }[]; }; }; //#endregion export { tanstackStartCookies };