import type { SchemaObject } from './types.js'; export type Bound = { value: number; exclusive: boolean; }; /** The tighter of two lower bounds. */ export declare const toTighterMinimum: (first: Bound | undefined, second: Bound | undefined) => Bound | undefined; /** The tighter of two upper bounds. */ export declare const toTighterMaximum: (first: Bound | undefined, second: Bound | undefined) => Bound | undefined; /** The lower bound of `schema`; exclusive only when `exclusiveMinimum` is `true`. */ export declare const toMinimum: (schema: SchemaObject) => Bound | undefined; /** The upper bound of `schema`; exclusive only when `exclusiveMaximum` is `true`. */ export declare const toMaximum: (schema: SchemaObject) => Bound | undefined; /** * Write the merged `minimum`/`exclusiveMinimum` and `maximum`/`exclusiveMaximum` * of `first` and `second` onto `result`. Members are in the normalized form, * where an exclusive bound is `minimum` plus `exclusiveMinimum: true`. */ export declare const mergeBounds: (result: SchemaObject, first: SchemaObject, second: SchemaObject) => void; /** * Write `minimum` and `maximum` onto `result` in the normalized form. An * undefined bound leaves `result` unchanged. */ export declare const writeBounds: (result: SchemaObject, minimum: Bound | undefined, maximum: Bound | undefined) => void;