## API Report File for "@qwik.dev/router"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import type { AbortMessage } from '@qwik.dev/router/middleware/request-handler';
import { Component } from '@qwik.dev/core';
import type { ComputedSignal } from '@qwik.dev/core';
import { Cookie } from '@qwik.dev/router/middleware/request-handler';
import { CookieOptions } from '@qwik.dev/router/middleware/request-handler';
import { CookieValue } from '@qwik.dev/router/middleware/request-handler';
import { DeferReturn } from '@qwik.dev/router/middleware/request-handler';
import type { EnvGetter } from '@qwik.dev/router/middleware/request-handler';
import { InternalRequest } from '@qwik.dev/router/middleware/request-handler';
import { JSXOutput } from '@qwik.dev/core';
import { NoSerialize } from '@qwik.dev/core';
import { QRL } from '@qwik.dev/core';
import { QRLEventHandlerMulti } from '@qwik.dev/core';
import { QwikIntrinsicElements } from '@qwik.dev/core';
import { QwikJSX } from '@qwik.dev/core';
import { Render } from '@qwik.dev/core/server';
import { RenderToStreamOptions } from '@qwik.dev/core/server';
import { RequestEvent } from '@qwik.dev/router/middleware/request-handler';
import { RequestEventAction } from '@qwik.dev/router/middleware/request-handler';
import { RequestEventBase } from '@qwik.dev/router/middleware/request-handler';
import { RequestEventCommon } from '@qwik.dev/router/middleware/request-handler';
import { RequestEventLoader } from '@qwik.dev/router/middleware/request-handler';
import { RequestHandler } from '@qwik.dev/router/middleware/request-handler';
import type { ResolveSyncValue } from '@qwik.dev/router/middleware/request-handler';
import type { SerializationStrategy } from '@qwik.dev/core/internal';
import type { ServerError } from '@qwik.dev/router/middleware/request-handler';
import type { Signal } from '@qwik.dev/core';
import type * as v from 'valibot';
import type { ValueOrPromise } from '@qwik.dev/core';
import { ValueOrPromise as ValueOrPromise_2 } from '@qwik.dev/core/internal';
import { z } from 'zod';
import type * as z_2 from 'zod';

// @public (undocumented)
export type Action<RETURN, INPUT = Record<string, unknown>, OPTIONAL extends boolean = true> = {
    (): ActionStore<ExcludeControlFlow<RETURN>, INPUT, OPTIONAL>;
};

// @public (undocumented)
export type ActionConstructor = {
    <OBJ extends Record<string, any> | void | null, VALIDATOR extends TypedDataValidator, REST extends [DataValidator, ...DataValidator[]]>(actionQrl: (data: GetValidatorOutputType<VALIDATOR>, event: RequestEventAction) => ValueOrPromise<OBJ>, options: ActionOptions & {
        readonly validation: [VALIDATOR, ...REST];
    }): Action<StrictUnion<OBJ | FailReturn<ValidatorErrorType<GetValidatorInputType<VALIDATOR>>> | FailReturn<FailOfRest<REST>>>, GetValidatorInputType<VALIDATOR>, false>;
    <OBJ extends Record<string, any> | void | null, VALIDATOR extends TypedDataValidator>(actionQrl: (data: GetValidatorOutputType<VALIDATOR>, event: RequestEventAction) => ValueOrPromise<OBJ>, options: ActionOptions & {
        readonly validation: [VALIDATOR];
    }): Action<StrictUnion<OBJ | FailReturn<ValidatorErrorType<GetValidatorInputType<VALIDATOR>>>>, GetValidatorInputType<VALIDATOR>, false>;
    <OBJ extends Record<string, any> | void | null, REST extends [DataValidator, ...DataValidator[]]>(actionQrl: (data: JSONObject, event: RequestEventAction) => ValueOrPromise<OBJ>, options: ActionOptions & {
        readonly validation: REST;
    }): Action<StrictUnion<OBJ | FailReturn<FailOfRest<REST>>>>;
    <OBJ extends Record<string, any> | void | null, VALIDATOR extends TypedDataValidator, REST extends [DataValidator, ...DataValidator[]]>(actionQrl: (data: GetValidatorOutputType<VALIDATOR>, event: RequestEventAction) => ValueOrPromise<OBJ>, options: VALIDATOR, ...rest: REST): Action<StrictUnion<OBJ | FailReturn<ValidatorErrorType<GetValidatorInputType<VALIDATOR>>> | FailReturn<FailOfRest<REST>>>, GetValidatorInputType<VALIDATOR>, false>;
    <OBJ extends Record<string, any> | void | null, VALIDATOR extends TypedDataValidator>(actionQrl: (data: GetValidatorOutputType<VALIDATOR>, event: RequestEventAction) => ValueOrPromise<OBJ>, options: VALIDATOR): Action<StrictUnion<OBJ | FailReturn<ValidatorErrorType<GetValidatorInputType<VALIDATOR>>>>, GetValidatorInputType<VALIDATOR>, false>;
    <OBJ extends Record<string, any> | void | null, REST extends [DataValidator, ...DataValidator[]]>(actionQrl: (form: JSONObject, event: RequestEventAction) => ValueOrPromise<OBJ>, ...rest: REST): Action<StrictUnion<OBJ | FailReturn<FailOfRest<REST>>>>;
    <OBJ>(actionQrl: (form: JSONObject, event: RequestEventAction) => ValueOrPromise<OBJ>, options?: ActionOptions): Action<StrictUnion<OBJ>>;
};

// @public (undocumented)
export type ActionOptions = {
    readonly id?: string;
    readonly validation?: DataValidator[];
    readonly invalidate?: Loader_2<any>[];
};

// @public (undocumented)
export type ActionReturn<RETURN> = {
    readonly status?: number;
    readonly value: RETURN;
};

// @public (undocumented)
export type ActionStore<RETURN, INPUT, OPTIONAL extends boolean = true> = {
    readonly actionPath: string;
    readonly isRunning: boolean;
    readonly status?: number;
    readonly formData: FormData | undefined;
    readonly value: RETURN | undefined;
    readonly submit: QRL<OPTIONAL extends true ? (form?: INPUT | FormData | SubmitEvent) => Promise<ActionReturn<RETURN>> : (form: INPUT | FormData | SubmitEvent) => Promise<ActionReturn<RETURN>>>;
    readonly submitted: boolean;
};

// @public
export type CacheKeyFn = true | ((requestEv: RequestEvent, eTag: string) => string | null);

// @public (undocumented)
export interface ContentHeading {
    // (undocumented)
    readonly id: string;
    // (undocumented)
    readonly level: number;
    // (undocumented)
    readonly text: string;
}

// @public (undocumented)
export interface ContentMenu {
    // (undocumented)
    readonly href?: string;
    // (undocumented)
    readonly items?: ContentMenu[];
    // (undocumented)
    readonly text: string;
}

// @public
export type ContentModuleETag = string | ((props: DocumentHeadProps) => string | null);

// @public (undocumented)
export type ContentModuleHead = DocumentHead | ResolvedDocumentHead;

export { Cookie }

export { CookieOptions }

export { CookieValue }

// @public
export const createRenderer: (getOptions: (options: RendererOptions) => {
    jsx: JSXOutput;
    options: RendererOutputOptions;
}) => Render;

// @public (undocumented)
export type DataValidator<T extends Record<string, any> = {}> = {
    validate(ev: RequestEvent, data: unknown): Promise<ValidatorReturn<T>>;
};

export { DeferReturn }

// @public (undocumented)
export type DocumentHead = DocumentHeadValue | ((props: DocumentHeadProps) => DocumentHeadValue);

// @public (undocumented)
export interface DocumentHeadProps extends RouteLocation {
    // (undocumented)
    readonly head: ResolvedDocumentHead;
    // (undocumented)
    readonly resolveValue: ResolveSyncValue;
    readonly status: number;
    // @deprecated (undocumented)
    readonly withLocale: <T>(fn: () => T) => T;
}

// @public
export const DocumentHeadTags: Component<DocumentHeadValue<Record<string, unknown>>>;

// @public (undocumented)
export interface DocumentHeadValue<FrontMatter extends Record<string, any> = Record<string, unknown>> {
    readonly frontmatter?: Readonly<FrontMatter>;
    readonly links?: readonly DocumentLink[];
    readonly meta?: readonly DocumentMeta[];
    readonly scripts?: readonly DocumentScript[];
    readonly styles?: readonly DocumentStyle[];
    readonly title?: string;
}

// @public (undocumented)
export type DocumentLink = QwikIntrinsicElements['link'];

// @public (undocumented)
export type DocumentMeta = QwikIntrinsicElements['meta'];

// @public (undocumented)
export type DocumentScript = ((Omit<QwikIntrinsicElements['script'], 'dangerouslySetInnerHTML'> & {
    props?: never;
}) | {
    key?: string;
    props: Readonly<QwikIntrinsicElements['script']>;
}) & ({
    script?: string;
    dangerouslySetInnerHTML?: never;
} | {
    dangerouslySetInnerHTML?: string;
    script?: never;
});

// @public (undocumented)
export type DocumentStyle = Readonly<((Omit<QwikIntrinsicElements['style'], 'dangerouslySetInnerHTML'> & {
    props?: never;
}) | {
    key?: string;
    props: Readonly<QwikIntrinsicElements['style']>;
}) & ({
    style?: string;
    dangerouslySetInnerHTML?: never;
} | {
    dangerouslySetInnerHTML?: string;
    style?: never;
})>;

// Warning: (ae-forgotten-export) The symbol "ErrorBoundaryProps" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export const ErrorBoundary: Component<ErrorBoundaryProps>;

// @public
export type ExcludeControlFlow<T> = Exclude<T, AbortMessage | ServerError>;

// @public (undocumented)
export type FailOfRest<REST extends readonly DataValidator[]> = REST extends readonly DataValidator<infer ERROR>[] ? ERROR : never;

// Warning: (ae-forgotten-export) The symbol "Failed" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export type FailReturn<T> = T & Failed;

// @public (undocumented)
export const Form: <O, I>(input: FormProps<O, I>, key: string | null) => JSXOutput;

// @public (undocumented)
export interface FormProps<O, I> extends Omit<QwikJSX.IntrinsicElements['form'], 'action' | 'method'> {
    action?: ActionStore<O, I, true | false>;
    // (undocumented)
    key?: string | number | null;
    onSubmitCompleted$?: QRLEventHandlerMulti<CustomEvent<FormSubmitSuccessDetail<O>>, HTMLFormElement> | undefined;
    reloadDocument?: boolean;
    spaReset?: boolean;
}

// @public (undocumented)
export interface FormSubmitSuccessDetail<T> {
    // (undocumented)
    status: number;
    // (undocumented)
    value: T;
}

// @public
export const getRequestEvent: (thisArg?: unknown) => RequestEvent | undefined;

// Warning: (ae-forgotten-export) The symbol "ValibotDataValidator" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "ZodDataValidator" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export type GetValidatorInputType<VALIDATOR extends TypedDataValidator> = VALIDATOR extends ValibotDataValidator<infer TYPE> ? v.InferInput<TYPE> : VALIDATOR extends ZodDataValidator<infer TYPE> ? z_2.input<TYPE> : never;

// @public (undocumented)
export type GetValidatorOutputType<VALIDATOR extends TypedDataValidator> = VALIDATOR extends ValibotDataValidator<infer TYPE> ? v.InferOutput<TYPE> : VALIDATOR extends ZodDataValidator<infer TYPE> ? z_2.output<TYPE> : never;

// @public (undocumented)
export type GetValidatorType<VALIDATOR extends TypedDataValidator> = GetValidatorOutputType<VALIDATOR>;

// @public (undocumented)
export const globalAction$: ActionConstructor;

// Warning: (ae-forgotten-export) The symbol "ActionConstructorQRL" needs to be exported by the entry point index.d.ts
// Warning: (ae-internal-missing-underscore) The name "globalActionQrl" should be prefixed with an underscore because the declaration is marked as @internal
//
// @internal (undocumented)
export const globalActionQrl: ActionConstructorQRL;

// @public (undocumented)
export type HttpErrorProps = {
    status: number;
    message: string;
};

export { InternalRequest }

// @public (undocumented)
export type JSONObject = {
    [x: string]: JSONValue;
};

// @public (undocumented)
export type JSONValue = string | number | boolean | {
    [x: string]: JSONValue;
} | Array<JSONValue>;

// @public (undocumented)
export const Link: Component<LinkProps>;

// Warning: (ae-forgotten-export) The symbol "AnchorAttributes" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export interface LinkProps extends AnchorAttributes {
    // @deprecated (undocumented)
    prefetch?: boolean | 'js';
    prefetchBundles?: PrefetchStrategy;
    prefetchData?: PrefetchStrategy;
    // (undocumented)
    reload?: boolean;
    // (undocumented)
    replaceState?: boolean;
    // (undocumented)
    scroll?: boolean;
}

// @public (undocumented)
type Loader_2<RETURN> = {
    (): LoaderSignal<ExcludeControlFlow<RETURN>>;
};
export { Loader_2 as Loader }

// @public (undocumented)
export type LoaderSignal<TYPE> = (TYPE extends () => ValueOrPromise<infer VALIDATOR> ? Signal<ValueOrPromise<VALIDATOR>> : Signal<TYPE>) & Pick<ComputedSignal<any>, 'promise' | 'pending' | 'error' | 'loading'>;

// @public (undocumented)
type NavigationType_2 = 'initial' | 'form' | 'link' | 'popstate';
export { NavigationType_2 as NavigationType }

// @beta
export function omitProps<T, KEYS extends keyof T>(obj: T, keys: KEYS[]): Omit<T, KEYS>;

// Warning: (ae-forgotten-export) The symbol "RouteModule" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export type PageModule = RouteModule & {
    readonly default: (props: Record<string, never>) => JSXOutput;
    readonly routeConfig?: RouteConfig;
    readonly head?: ContentModuleHead;
    readonly eTag?: ContentModuleETag;
    readonly cacheKey?: CacheKeyFn;
    readonly headings?: ContentHeading[];
    readonly onStaticGenerate?: StaticGenerateHandler;
};

// @public (undocumented)
export type PathParams = Record<string, string>;

// @public
export type PrefetchStrategy =
/**
* Prefetch when the user commits to navigating.
*
* Triggered by `pointerdown` or the `Enter` key.
*/
'commit'
/**
* Prefetch when the user shows navigation intent.
*
* Triggered by `pointerenter`, hover, or focus.
*/
| 'intent'
/** Prefetch when the link becomes visible in the viewport. */
| 'visible'
/** Disable link prefetching. */
| 'off';

// @public (undocumented)
export type PreventNavigateCallback = (url?: number | URL) => ValueOrPromise<boolean>;

// @public (undocumented)
export const Q_ROUTE = "q:route";

// @public @deprecated (undocumented)
export const QWIK_CITY_SCROLLER = "_qCityScroller";

// @public (undocumented)
export const QWIK_ROUTER_SCROLLER = "_qRouterScroller";

// @public @deprecated (undocumented)
export const QwikCityMockProvider: Component<QwikRouterMockProps>;

// @public @deprecated (undocumented)
export type QwikCityPlan = QwikRouterConfig;

// @public @deprecated (undocumented)
export type QwikCityProps = QwikRouterProps;

// @public @deprecated (undocumented)
export const QwikCityProvider: Component<QwikRouterProps>;

// @public (undocumented)
export interface QwikRouterConfig {
    // (undocumented)
    readonly basePathname?: string;
    // (undocumented)
    readonly cacheModules?: boolean;
    readonly fallthrough?: boolean;
    // (undocumented)
    readonly routes: RouteData;
    // (undocumented)
    readonly serverPlugins?: RouteModule[];
    // (undocumented)
    readonly trailingSlash?: boolean;
}

// @public (undocumented)
export interface QwikRouterEnvData {
    // (undocumented)
    ev: RequestEvent;
    // Warning: (ae-forgotten-export) The symbol "LoadedRoute" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    loadedRoute: LoadedRoute;
    // (undocumented)
    loaderValues: Record<string, unknown>;
    // (undocumented)
    params: PathParams;
    // Warning: (ae-forgotten-export) The symbol "EndpointResponse" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    response: EndpointResponse;
    // Warning: (ae-forgotten-export) The symbol "RouteLoaderCtx" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    routeLoaderCtx: RouteLoaderCtx;
    // (undocumented)
    routeName: string;
}

// @public (undocumented)
export interface QwikRouterMockActionProp<T = any> {
    action: Action<T>;
    // Warning: (ae-forgotten-export) The symbol "RouteActionResolver" needs to be exported by the entry point index.d.ts
    handler: QRL<(data: T) => ValueOrPromise_2<RouteActionResolver>>;
}

// @public (undocumented)
export interface QwikRouterMockLoaderProp<T = any> {
    data: T;
    loader: Loader_2<T>;
}

// @public (undocumented)
export interface QwikRouterMockProps {
    actions?: Array<QwikRouterMockActionProp<any>>;
    goto?: RouteNavigate;
    loaders?: Array<QwikRouterMockLoaderProp<any>>;
    params?: Record<string, string>;
    url?: string;
}

// @public (undocumented)
export const QwikRouterMockProvider: Component<QwikRouterMockProps>;

// @public (undocumented)
export interface QwikRouterProps {
    viewTransition?: boolean;
}

// @public
export const QwikRouterProvider: Component<QwikRouterProps>;

// @public (undocumented)
export type RendererOptions = Omit<RenderToStreamOptions, 'serverData'> & {
    serverData: ServerData;
};

// @public (undocumented)
export type RendererOutputOptions = Omit<RenderToStreamOptions, 'serverData'> & {
    serverData: ServerData & {
        documentHead?: DocumentHeadValue;
    } & Record<string, unknown>;
};

export { RequestEvent }

export { RequestEventAction }

export { RequestEventBase }

export { RequestEventCommon }

export { RequestEventLoader }

export { RequestHandler }

// @public (undocumented)
export type ResolvedDocumentHead<FrontMatter extends Record<string, any> = Record<string, unknown>> = Required<DocumentHeadValue<FrontMatter>> & {
    readonly manifestHash: string;
};

// @public
export const routeAction$: ActionConstructor;

// @public (undocumented)
export const routeActionQrl: ActionConstructorQRL;

// @public
export type RouteConfig = RouteConfigValue | ((props: DocumentHeadProps) => RouteConfigValue);

// @public
export interface RouteConfigValue {
    // (undocumented)
    readonly cacheKey?: CacheKeyFn;
    // (undocumented)
    readonly eTag?: ContentModuleETag;
    // (undocumented)
    readonly head?: DocumentHeadValue;
}

// @public
export interface RouteData {
    _0?: string;
    _4?: ContentModuleLoader | ModuleLoader[];
    _9?: string;
    [part: string]: RouteData | RouteData[] | ModuleLoader[] | ContentModuleLoader | MenuModuleLoader | string[] | string | undefined;
    _B?: string[];
    _E?: ContentModuleLoader | ModuleLoader[];
    _G?: string;
    // Warning: (ae-forgotten-export) The symbol "ModuleLoader" needs to be exported by the entry point index.d.ts
    _I?: ContentModuleLoader | ModuleLoader[];
    // Warning: (ae-forgotten-export) The symbol "ContentModuleLoader" needs to be exported by the entry point index.d.ts
    _L?: ContentModuleLoader;
    _M?: RouteData[];
    // Warning: (ae-forgotten-export) The symbol "MenuModuleLoader" needs to be exported by the entry point index.d.ts
    _N?: MenuModuleLoader;
    _P?: string;
    _R?: string[];
}

// Warning: (ae-forgotten-export) The symbol "LoaderConstructor" needs to be exported by the entry point index.d.ts
//
// @public
export const routeLoader$: LoaderConstructor;

// Warning: (ae-forgotten-export) The symbol "LoaderConstructorQRL" needs to be exported by the entry point index.d.ts
// Warning: (ae-internal-missing-underscore) The name "routeLoaderQrl" should be prefixed with an underscore because the declaration is marked as @internal
//
// @internal (undocumented)
export const routeLoaderQrl: LoaderConstructorQRL;

// @public (undocumented)
export interface RouteLocation {
    // (undocumented)
    readonly isNavigating: boolean;
    // (undocumented)
    readonly params: Readonly<Record<string, string>>;
    // (undocumented)
    readonly prevUrl: URL | undefined;
    // (undocumented)
    readonly url: URL;
}

// @public (undocumented)
export type RouteNavigate = QRL<(path?: string | number | URL, options?: {
    type?: Exclude<NavigationType_2, 'initial'>;
    forceReload?: boolean;
    replaceState?: boolean;
    scroll?: boolean;
} | boolean) => Promise<void>>;

// @public (undocumented)
export const RouterOutlet: Component<unknown>;

// Warning: (ae-forgotten-export) The symbol "ServerConfig" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export const server$: <T extends ServerFunction>(qrl: T, options?: ServerConfig | undefined) => ServerQRL<T>;

// @public
export type ServerData = {
    url: string;
    requestHeaders: Record<string, string>;
    renderMode: 'static' | 'server';
    locale: string | undefined;
    nonce: string | undefined;
    containerAttributes: Record<string, string> & {
        [Q_ROUTE]: string;
    };
    qwikrouter: QwikRouterEnvData;
};

// @public (undocumented)
export type ServerFunction = {
    (this: RequestEventBase, ...args: any[]): any;
    options?: ServerConfig;
};

// @public
export type ServerQRL<T extends ServerFunction> = QRL<((abort: AbortSignal, ...args: Parameters<T>) => ReturnType<T>) | ((...args: Parameters<T>) => ReturnType<T>)>;

// Warning: (ae-internal-missing-underscore) The name "serverQrl" should be prefixed with an underscore because the declaration is marked as @internal
//
// @internal (undocumented)
export const serverQrl: <T extends ServerFunction>(qrl: QRL<T>, options?: ServerConfig) => ServerQRL<T>;

// @public
export const ServiceWorkerRegister: (props: {
    nonce?: string;
}) => JSXOutput;

// @public (undocumented)
export interface StaticGenerate {
    // (undocumented)
    params?: PathParams[];
}

// @public (undocumented)
export type StaticGenerateHandler = (input: {
    env: EnvGetter;
}) => Promise<StaticGenerate> | StaticGenerate;

// Warning: (ae-forgotten-export) The symbol "Prettify" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "StrictUnionHelper" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export type StrictUnion<T> = Prettify<StrictUnionHelper<T, T>>;

// @public (undocumented)
export type TypedDataValidator = ValibotDataValidator | ZodDataValidator;

// @beta (undocumented)
export const untypedAppUrl: (route: string, params?: Record<string, string>, paramsPrefix?: string) => string;

// Warning: (ae-forgotten-export) The symbol "ContentState" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export const useContent: () => ContentState;

// @public
export const useDocumentHead: <FrontMatter extends Record<string, unknown> = Record<string, any>>() => Required<ResolvedDocumentHead<FrontMatter>>;

// @public (undocumented)
export const useHttpStatus: () => HttpErrorProps;

// @public (undocumented)
export const useLocation: () => RouteLocation;

// @public (undocumented)
export const useNavigate: () => RouteNavigate;

// @public
export const usePreventNavigate$: (qrl: PreventNavigateCallback) => void;

// Warning: (ae-internal-missing-underscore) The name "usePreventNavigateQrl" should be prefixed with an underscore because the declaration is marked as @internal
//
// @internal
export const usePreventNavigateQrl: (fn: QRL<PreventNavigateCallback>) => void;

// @public
export const useQwikRouter: (props?: QwikRouterProps) => void;

// Warning: (ae-forgotten-export) The symbol "ValibotConstructor" needs to be exported by the entry point index.d.ts
//
// @beta (undocumented)
export const valibot$: ValibotConstructor;

// Warning: (ae-forgotten-export) The symbol "ValibotConstructorQRL" needs to be exported by the entry point index.d.ts
// Warning: (ae-internal-missing-underscore) The name "valibotQrl" should be prefixed with an underscore because the declaration is marked as @internal
//
// @internal (undocumented)
export const valibotQrl: ValibotConstructorQRL;

// Warning: (ae-forgotten-export) The symbol "ValidatorConstructor" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export const validator$: ValidatorConstructor;

// Warning: (ae-forgotten-export) The symbol "IsAny" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export type ValidatorErrorKeyDotNotation<T, Prefix extends string = ''> = IsAny<T> extends true ? never : T extends object ? {
    [K in keyof T & string]: IsAny<T[K]> extends true ? never : T[K] extends (infer U)[] ? IsAny<U> extends true ? never : U extends object ? `${Prefix}${K}[]` | ValidatorErrorKeyDotNotation<U, `${Prefix}${K}[].`> : `${Prefix}${K}[]` : T[K] extends object ? ValidatorErrorKeyDotNotation<T[K], `${Prefix}${K}.`> : `${Prefix}${K}`;
}[keyof T & string] : never;

// @public (undocumented)
export type ValidatorErrorType<T, U = string> = {
    formErrors: U[];
    fieldErrors: Partial<{
        [K in ValidatorErrorKeyDotNotation<T>]: K extends `${infer _Prefix}[]${infer _Suffix}` ? U[] : U;
    }>;
};

// Warning: (ae-forgotten-export) The symbol "ValidatorConstructorQRL" needs to be exported by the entry point index.d.ts
// Warning: (ae-internal-missing-underscore) The name "validatorQrl" should be prefixed with an underscore because the declaration is marked as @internal
//
// @internal (undocumented)
export const validatorQrl: ValidatorConstructorQRL;

// Warning: (ae-forgotten-export) The symbol "ValidatorReturnSuccess" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "ValidatorReturnFail" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export type ValidatorReturn<T extends Record<string, any> = {}> = ValidatorReturnSuccess | ValidatorReturnFail<T>;

export { z }

// @public (undocumented)
export const zod$: ZodConstructor;

// @public (undocumented)
export type ZodConstructor = {
    <T extends z_2.ZodRawShape>(schema: T): ZodDataValidator<z_2.ZodObject<T>>;
    <T extends z_2.ZodRawShape>(schema: (zod: typeof z_2.z, ev: RequestEvent) => T): ZodDataValidator<z_2.ZodObject<T>>;
    <T extends z_2.Schema>(schema: T): ZodDataValidator<T>;
    <T extends z_2.Schema>(schema: (zod: typeof z_2.z, ev: RequestEvent) => T): ZodDataValidator<T>;
};

// Warning: (ae-forgotten-export) The symbol "ZodConstructorQRL" needs to be exported by the entry point index.d.ts
// Warning: (ae-internal-missing-underscore) The name "zodQrl" should be prefixed with an underscore because the declaration is marked as @internal
//
// @internal (undocumented)
export const zodQrl: ZodConstructorQRL;

// (No @packageDocumentation comment for this package)

```
