export declare function clamp(value: number, min: number, max: number): number;
export declare function clampPositive(value: number): number;
export declare function assertFinite(value: number, name: string): void;
export declare function assertPositive(value: number, name: string): void;
export declare function assertNonNegative(value: number, name: string): void;
export declare function assertInRange(value: number, min: number, max: number, name: string): void;
export declare function assertNonEmpty(value: string, name: string): void;
export declare function assertCanvasElement(el: unknown, name?: string): asserts el is HTMLCanvasElement;
export interface ValidationResult {
    valid: boolean;
    warnings: string[];
    errors: string[];
}
export declare function validateGameSettings(settings: {
    width?: number;
    height?: number;
    targetFps?: number;
    maxPlayers?: number;
}): ValidationResult;
export declare function validatePhysicsSettings(settings: {
    fixedTimestep?: number;
    velocityIterations?: number;
    positionIterations?: number;
}): ValidationResult;
