import { InvalidInputError, InvalidWeightError, NegativeWeightError } from '../types/errors'; import { Edge } from '../types/graph'; import { Result } from '../types/result'; /** * Validate that input is not null or undefined. * @param input - Input to validate * @param name - Name of input for error message * @returns Ok(void) if valid, Err(InvalidInputError) if null/undefined */ export declare const validateNotNull: (input: unknown, name: string) => Result; /** * Validate edge weight is a valid number (not NaN, not Infinity). * @param edge - Edge to validate * @returns Ok(void) if valid, Err(InvalidWeightError) if invalid */ export declare const validateEdgeWeight: (edge: Edge) => Result; /** * Validate edge weight is non-negative (for Dijkstra's algorithm). * @param edge - Edge to validate * @returns Ok(void) if valid, Err(NegativeWeightError) if negative */ export declare const validateNonNegativeWeight: (edge: Edge) => Result; //# sourceMappingURL=validators.d.ts.map