UNPKG

burst-generate-files

Version:
13 lines (12 loc) 597 B
import { z as zod } from 'zod'; import { SettingsMarker } from '../types'; import { CheckError, GetRefineParams } from './types'; export declare const checkRefineCallback: (rootPath: CheckError["rootPath"]) => (path: string | string[]) => path is string | string[]; export declare const getRefineParams: GetRefineParams; export declare const validateMarkerPattern: ({ rootPath, objectMarker, pathToMarker, ctx, pathCtx, }: { rootPath: CheckError["rootPath"]; objectMarker: SettingsMarker; pathToMarker: string; ctx: zod.RefinementCtx; pathCtx: (string | number)[]; }) => void;