export type CirclePosition = { x: number; y: number; angle: number; }; export type CirclePositionsConfig = { count: number; radius: number; startAngle?: number; sweepAngle?: number; }; /** * Computes the positions of points on a circle. * @param param - The configuration object. * @param param.count - The number of points. * @param param.radius - The radius of the circle. * @param param.startAngle - The starting angle. * @param param.sweepAngle - The sweep angle. * @returns An array of positions of the points on the circle. */ export declare function useCirclePositions({ count, radius, startAngle, sweepAngle, }: CirclePositionsConfig): CirclePosition[]; /** * Computes the position of a single point on a circle. * @param param - The configuration object. * @param param.index - The index of the point. * @param param.count - The number of points. * @param param.radius - The radius of the circle. * @param param.startAngle - The starting angle. * @param param.sweepAngle - The sweep angle. * @returns The position of the point on the circle. */ export declare function useCirclePosition({ index, count, radius, startAngle, sweepAngle, }: CirclePositionsConfig & { index: number; }): CirclePosition; //# sourceMappingURL=useCirclePositions.d.ts.map