export { w as ActionClientOptions, u as ActionLogger, o as ActionOptions, r as ActionResult, A as AnyServerActionClient, v as AuthRedirectOptions, D as DEFAULT_REDACT_KEYS, E as ErrorHandlerContext, s as ExtractSuccessData, F as FormServerAction, H as HookOptions, I as InvalidFormDataError, t as IsErrorResponse, M as MiddlewareResult, C as OnCompleteHook, B as OnFailureHook, x as OnStartHook, y as OnSuccessHook, O as OutputValidationError, R as REDACTED, b as RedactMatcher, l as RedirectConfig, n as RedirectSpec, m as RedirectTarget, q as ServerAction, S as ServerActionClient, k as ServerActionError, j as ServerActionMiddleware, p as ServerActionResponse, T as ToastAdapter, c as createActionClient, g as createTypedMiddleware, d as decodeFormData, e as emptyToNull, f as emptyToUndefined, h as handleServerActionError, i as isErrorResponse, a as isSafeRedirectPath, z as zodErrorToServerActionError } from './index-BlyDemz-.mjs'; import 'zod/v4/core'; declare enum RedirectStatusCode { SeeOther = 303, TemporaryRedirect = 307, PermanentRedirect = 308 } declare const REDIRECT_ERROR_CODE = "NEXT_REDIRECT"; declare enum RedirectType { push = "push", replace = "replace" } type RedirectError = Error & { digest: `${typeof REDIRECT_ERROR_CODE};${RedirectType};${string};${RedirectStatusCode};`; }; /** * Checks an error to determine if it's an error generated by the * `redirect(url)` helper. * * @param error the error that may reference a redirect error * @returns true if the error is a redirect error */ declare function isRedirectError(error: unknown): error is RedirectError; declare const HTTP_ERROR_FALLBACK_ERROR_CODE = "NEXT_HTTP_ERROR_FALLBACK"; type HTTPAccessFallbackError = Error & { digest: `${typeof HTTP_ERROR_FALLBACK_ERROR_CODE};${string}`; }; /** * Checks an error to determine if it's an error generated by * the HTTP navigation APIs `notFound()`, `forbidden()` or `unauthorized()`. * * @param error the error that may reference a HTTP access error * @returns true if the error is a HTTP access error */ declare function isHTTPAccessFallbackError(error: unknown): error is HTTPAccessFallbackError; /** * Checks if the error is a navigation error that should be re-thrown: * `redirect()`, `permanentRedirect()`, `notFound()`, `forbidden()` and * `unauthorized()`, including the `notFound()` digest of Next.js 14 and 15.0. */ declare function isNextNavigationError(error: unknown): boolean; /** * Checks if the error is a notFound error * Note: Next.js implements notFound() using HTTP_ERROR_FALLBACK with status 404, * not as a separate error type like NEXT_REDIRECT (Next.js 14 and 15.0 used * the NEXT_NOT_FOUND digest instead). */ declare function isNotFoundError(error: unknown): boolean; export { type HTTPAccessFallbackError, type RedirectError, isHTTPAccessFallbackError, isNextNavigationError, isNotFoundError, isRedirectError };