export default Circle; export type Options = { /** * Boundary measure of the circle or perimeter. */ circumference: number; /** * The distance from the center of the circle to the circumference. */ radius: number; /** * The line measure that passes through the centre of the circle * and touches the two points on the circumference. */ diameter: number; }; /** * @typedef {Object} Options * @property {number} circumference Boundary measure of the circle or perimeter. * @property {number} radius The distance from the center of the circle to the circumference. * @property {number} diameter The line measure that passes through the centre of the circle * and touches the two points on the circumference. */ /** * @classdesc * This library allows obtaining the properties of a geometric circle from any of its * measurements. */ declare class Circle { /** * @param {Options} options Circle options. */ constructor(options: Options); /** * @private */ private properties; /** * @returns {number} circumference Boundary measure of the circle or perimeter. */ get circumference(): number; /** * @returns {number} radius The distance from the center of the circle to the circumference. */ get radius(): number; /** * @returns {number} diameter The line measure that passes through the centre of the circle * and touches the two points on the circumference. */ get diameter(): number; /** * @returns {number} area Square area of a geometric circle in two dimensions */ get area(): number; } //# sourceMappingURL=Circle.d.ts.map