/** * Object validation - omitKeys * Returns a new object validator that drops the specified keys from the * source validator. Mirrors `Omit` at the type level so consumers * like `union()`, `intersection()`, and `SchemaToInterface` see the * narrowed shape. * * The function is named `omitKeys` to avoid conflicting with the top-level * `Object` module's `omit` runtime helper while making the keys-based * semantics explicit. */ import { type InferObject, type ObjectShape, type ObjectValidator, type StandardSchemaV1 } from "./core"; /** * Removes the given keys from an existing object validator and returns a new * object validator covering the remaining keys. * @template T - Original object shape * @template K - Tuple of keys to omit from the original shape * @param {ObjectValidator} validator - Source object validator * @param {K} keys - Keys to drop from the new validator * @param {string} [message] - Custom error message for the omitted validator * @returns {ObjectValidator>} - New validator without omitted keys */ export declare const omitKeys: (validator: ObjectValidator, keys: K, message?: string) => ObjectValidator> & StandardSchemaV1>, InferObject>>;