import type { GetAngleFn } from '../../beatmap/schema/shared/types/functions.js'; import type { IWrapBaseNote } from '../../beatmap/schema/wrapper/types/baseNote.js'; import type { IWrapBaseSlider } from '../../beatmap/schema/wrapper/types/baseSlider.js'; import type { IWrapBombNote } from '../../beatmap/schema/wrapper/types/bombNote.js'; import type { IWrapColorNote } from '../../beatmap/schema/wrapper/types/colorNote.js'; import type { IWrapGridObject } from '../../beatmap/schema/wrapper/types/gridObject.js'; import type { ICountNote, ICountStatsNote } from './types/stats.js'; /** * Count number of red, blue, and bomb notes with their properties in given array and return a note count object. * * ```ts * const list = count(notes); * console.log(list); * ``` */ export declare function countNote(notes: T[], version?: number): ICountNote; export declare function countBomb(bombs: T[], version?: number): ICountStatsNote; /** * Count number of specified pos X in a given array and return a counted number of pos X. * * ```ts * const xCount = countX(notes, 0); * ``` */ export declare function countX(objs: T[], x: number): number; /** * Count number of specified pos Y in a given array and return a counted number of pos Y. * * ```ts * const yCount = countY(notes, 0); * ``` */ export declare function countY(objs: T[], y: number): number; /** * Count number of specified pos X and Y in a given array and return a counted number of pos X and Y. * * ```ts * const xyCount = countXY(notes, 0, 0); * ``` */ export declare function countXY(objs: T[], x: number, y: number): number; /** * Count number of specified `direction` in a given array and return a counted number of `direction`. * ```ts * const cdCount = countDirection(notes, 0); * ``` */ export declare function countDirection(notes: T[], cd: number): number; /** * Count number of specified angle in a given array and return a counted number of angle. * * ```ts * const angleCount = countAngle(notes, 0); * ``` */ export declare function countAngle(notes: T[], angle: number, fn?: GetAngleFn): number; //# sourceMappingURL=note.d.ts.map