import { JsonSchema7TypeUnion } from "./parseTypes.js"; import { Refs } from "./Refs.js"; export type ErrorMessages = Partial>; export declare function addErrorMessage; }>(res: T, key: keyof T, errorMessage: string | undefined, refs: Refs): void; export declare function setResponseValueAndErrors; }, Key extends keyof Omit>(res: Json7Type, key: Key, value: Json7Type[Key], errorMessage: string | undefined, refs: Refs): void;