import type { Snippet } from "svelte"; declare const Svelte: import("svelte").Component<{ betterAuthClient: { signIn: { social: | undefined; }> & Record, Partial> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ provider: (string & {}) | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "vercel"; callbackURL?: string | undefined; newUserCallbackURL?: string | undefined; errorCallbackURL?: string | undefined; disableRedirect?: boolean | undefined; idToken?: { token: string; nonce?: string | undefined; accessToken?: string | undefined; refreshToken?: string | undefined; expiresAt?: number | undefined; } | undefined; scopes?: string[] | undefined; requestSignUp?: boolean | undefined; loginHint?: string | undefined; additionalData?: Record | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise, { code?: string | undefined; message?: string | undefined; }, FetchOptions["throw"] extends true ? true : false>>; }; } & { signOut: > & Record, Record | undefined>>(data_0?: import("better-auth/client").Prettify<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { signUp: { email: & Record, Partial> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ email: string; name: string; password: string; image?: string | undefined; callbackURL?: string | undefined; fetchOptions?: FetchOptions | undefined; } & {} & {}>, data_1?: FetchOptions | undefined) => Promise, { code?: string | undefined; message?: string | undefined; }, FetchOptions["throw"] extends true ? true : false>>; }; } & { signIn: { email: & Record, Partial> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ email: string; password: string; callbackURL?: string | undefined; rememberMe?: boolean | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { resetPassword: & Record, Partial<{ token?: string | undefined; }> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ newPassword: string; token?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { verifyEmail: & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ query: { token: string; callbackURL?: string | undefined; }; fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise, { code?: string | undefined; message?: string | undefined; }, FetchOptions["throw"] extends true ? true : false>>; } & { sendVerificationEmail: & Record, Partial> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ email: string; callbackURL?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { changeEmail: & Record, Partial> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ newEmail: string; callbackURL?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { changePassword: & Record, Partial> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ newPassword: string; currentPassword: string; revokeOtherSessions?: boolean | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { updateUser: & { name?: string | undefined; image?: string | undefined | null; }> & Record, Partial> & Record, Record | undefined>>(data_0?: import("better-auth/client").Prettify<{ image?: (string | null) | undefined; name?: string | undefined; fetchOptions?: FetchOptions | undefined; } & Partial<{} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { deleteUser: & Record, Partial> & Record, Record | undefined>>(data_0?: import("better-auth/client").Prettify<{ callbackURL?: string | undefined; password?: string | undefined; token?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { requestPasswordReset: & Record, Partial> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ email: string; redirectTo?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { resetPassword: { ":token": & Record, { token: string; }>>(data_0: import("better-auth/client").Prettify<{ query: { callbackURL: string; }; fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { listSessions: > & Record, Record | undefined>>(data_0?: import("better-auth/client").Prettify<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise[], { code?: string | undefined; message?: string | undefined; }, FetchOptions["throw"] extends true ? true : false>>; } & { revokeSession: & Record, Partial> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ token: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { revokeSessions: > & Record, Record | undefined>>(data_0?: import("better-auth/client").Prettify<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { revokeOtherSessions: > & Record, Record | undefined>>(data_0?: import("better-auth/client").Prettify<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { linkSocial: | undefined; }> & Record, Partial> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ provider: unknown; callbackURL?: string | undefined; idToken?: { token: string; nonce?: string | undefined; accessToken?: string | undefined; refreshToken?: string | undefined; scopes?: string[] | undefined; } | undefined; requestSignUp?: boolean | undefined; scopes?: string[] | undefined; errorCallbackURL?: string | undefined; disableRedirect?: boolean | undefined; additionalData?: Record | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { listAccounts: > & Record, Record | undefined>>(data_0?: import("better-auth/client").Prettify<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { deleteUser: { callback: & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ query: { token: string; callbackURL?: string | undefined; }; fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { unlinkAccount: & Record, Partial> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ providerId: string; accountId?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { refreshToken: & Record, Partial> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ providerId: string; accountId?: string | undefined; userId?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { getAccessToken: & Record, Partial> & Record, Record | undefined>>(data_0: import("better-auth/client").Prettify<{ providerId: string; accountId?: string | undefined; userId?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { accountInfo: & Record, Record | undefined>>(data_0?: import("better-auth/client").Prettify<{ query?: { accountId?: string | undefined; } | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise; }, { code?: string | undefined; message?: string | undefined; }, FetchOptions["throw"] extends true ? true : false>>; } & { getSession: & Record, Record | undefined>>(data_0?: import("better-auth/client").Prettify<{ query?: { disableCookieCache?: unknown; disableRefresh?: unknown; } | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { jazz: { setJazzContext: (context: import("../../../dist/index.js").JazzContextType) => void; setAuthSecretStorage: (storage: import("../../../dist/index.js").AuthSecretStorage) => void; }; } & { useSession: import("better-auth/client").Atom<{ data: { user: { id: string; createdAt: Date; updatedAt: Date; email: string; emailVerified: boolean; name: string; image?: string | null | undefined; accountID?: string | null | undefined; }; session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; } | null; error: import("@better-fetch/fetch").BetterFetchError | null; isPending: boolean; }>; $fetch: import("@better-fetch/fetch").BetterFetch<{ plugins: (import("@better-fetch/fetch").BetterFetchPlugin> | { id: string; name: string; hooks: { onSuccess(context: import("@better-fetch/fetch").SuccessContext): void; }; } | { id: string; name: string; hooks: { onSuccess: ((context: import("@better-fetch/fetch").SuccessContext) => Promise | void) | undefined; onError: ((context: import("@better-fetch/fetch").ErrorContext) => Promise | void) | undefined; onRequest: (>(context: import("@better-fetch/fetch").RequestContext) => Promise | import("@better-fetch/fetch").RequestContext | void) | undefined; onResponse: ((context: import("@better-fetch/fetch").ResponseContext) => Promise | Response | import("@better-fetch/fetch").ResponseContext | void) | undefined; }; })[]; cache?: RequestCache | undefined; method: string; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; redirect?: RequestRedirect | undefined; credentials?: RequestCredentials; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRetry?: ((response: import("@better-fetch/fetch").ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl: import("@better-fetch/fetch").FetchEsque; baseURL: string; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: any; query?: any; params?: any; duplex?: "full" | "half" | undefined; jsonParser: (text: string) => Promise | any; retry?: import("@better-fetch/fetch").RetryOptions | undefined; retryAttempt?: number | undefined; output?: (import("@better-fetch/fetch").StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: import("@better-fetch/fetch").StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; disableSignal?: boolean | undefined; }, unknown, unknown, {}>; $store: { notify: (signal?: (Omit | "$sessionSignal") | undefined) => void; listen: (signal: Omit | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void; atoms: Record>; }; $Infer: { Session: { user: { id: string; createdAt: Date; updatedAt: Date; email: string; emailVerified: boolean; name: string; image?: string | null | undefined; accountID?: string | null | undefined; }; session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; }; }; $ERROR_CODES: { readonly USER_NOT_FOUND: "User not found"; readonly FAILED_TO_CREATE_USER: "Failed to create user"; readonly FAILED_TO_CREATE_SESSION: "Failed to create session"; readonly FAILED_TO_UPDATE_USER: "Failed to update user"; readonly FAILED_TO_GET_SESSION: "Failed to get session"; readonly INVALID_PASSWORD: "Invalid password"; readonly INVALID_EMAIL: "Invalid email"; readonly INVALID_EMAIL_OR_PASSWORD: "Invalid email or password"; readonly SOCIAL_ACCOUNT_ALREADY_LINKED: "Social account already linked"; readonly PROVIDER_NOT_FOUND: "Provider not found"; readonly INVALID_TOKEN: "Invalid token"; readonly ID_TOKEN_NOT_SUPPORTED: "id_token not supported"; readonly FAILED_TO_GET_USER_INFO: "Failed to get user info"; readonly USER_EMAIL_NOT_FOUND: "User email not found"; readonly EMAIL_NOT_VERIFIED: "Email not verified"; readonly PASSWORD_TOO_SHORT: "Password too short"; readonly PASSWORD_TOO_LONG: "Password too long"; readonly USER_ALREADY_EXISTS: "User already exists."; readonly USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL: "User already exists. Use another email."; readonly EMAIL_CAN_NOT_BE_UPDATED: "Email can not be updated"; readonly CREDENTIAL_ACCOUNT_NOT_FOUND: "Credential account not found"; readonly SESSION_EXPIRED: "Session expired. Re-authenticate to perform this action."; readonly FAILED_TO_UNLINK_LAST_ACCOUNT: "You can't unlink your last account"; readonly ACCOUNT_NOT_FOUND: "Account not found"; readonly USER_ALREADY_HAS_PASSWORD: "User already has a password. Provide that to delete the account."; }; }; children?: Snippet; }, {}, "">; type Svelte = ReturnType; export default Svelte; //# sourceMappingURL=svelte.svelte.d.ts.map