import Limiter from '../Limiter'; /** * A {@code NullLimiter} always throws {@link UnsupportedOperationException}. Typically it's used as the base class of partial or * immutable limiters. * * @author davebaol */ declare class NullLimiter implements Limiter { /** * Guaranteed to throw UnsupportedOperationException. * @throws UnsupportedOperationException always */ getMaxLinearSpeed(): number; /** * Guaranteed to throw UnsupportedOperationException. * @throws UnsupportedOperationException always */ setMaxLinearSpeed(maxLinearSpeed: number): void; /** * Guaranteed to throw UnsupportedOperationException. * @throws UnsupportedOperationException always */ getMaxLinearAcceleration(): number; /** * Guaranteed to throw UnsupportedOperationException. * @throws UnsupportedOperationException always */ setMaxLinearAcceleration(maxLinearAcceleration: number): void; /** * Guaranteed to throw UnsupportedOperationException. * @throws UnsupportedOperationException always */ getMaxAngularSpeed(): number; /** * Guaranteed to throw UnsupportedOperationException. * @throws UnsupportedOperationException always */ setMaxAngularSpeed(maxAngularSpeed: number): void; /** * Guaranteed to throw UnsupportedOperationException. * @throws UnsupportedOperationException always */ getMaxAngularAcceleration(): number; /** * Guaranteed to throw UnsupportedOperationException. * @throws UnsupportedOperationException always */ setMaxAngularAcceleration(maxAngularAcceleration: number): void; getZeroLinearSpeedThreshold(): number; /** * Guaranteed to throw UnsupportedOperationException. * @throws UnsupportedOperationException always */ setZeroLinearSpeedThreshold(zeroLinearSpeedThreshold: number): void; } export default NullLimiter; export declare class NeutralLimiter extends NullLimiter { getMaxLinearSpeed(): number; getMaxLinearAcceleration(): number; getMaxAngularSpeed(): number; getMaxAngularAcceleration(): number; } /** * An immutable limiter whose getters return {@link Float#POSITIVE_INFINITY} and setters throw * {@link UnsupportedOperationException}. */ export declare const NEUTRAL_LIMITER: NeutralLimiter;