UNPKG

next-typesafe-path

Version:
17 lines (16 loc) 612 B
import { z } from 'zod'; export declare class GlobalSearchParamsManager { private static instance; private schema; private initialized; private constructor(); static getInstance(): GlobalSearchParamsManager; setSchema(schema: z.ZodObject<z.ZodRawShape>): void; getSchema(): z.ZodObject<z.ZodRawShape> | undefined; } export declare const setGlobalSearchParams: (schema: z.ZodObject<z.ZodRawShape>) => void; export declare const getGlobalSearchParams: () => z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, { [x: string]: any; }, { [x: string]: any; }> | undefined;