interface Pitch { prefix: string; accidental: '#' | 'b' | ''; octave: number; isValid: boolean; } /** * Parses a pitch string. * NB! Supports only single accidentals! * * a##, ebb, bb and b# are not allowed * * @param pitch string */ export declare const parsePitch: (pitch: string) => Pitch; /** * Scientific pitch is needed to position notes on staff. * 0 represents c1, 1 is c#1, 2 is d etc. * -1 is h0, -2 is b0... */ export declare const getScientificPitch: (pitch: string) => number | undefined; declare type supportedClef = 'g'; /** * Returns staff position: * 0 is middle staffline, positive numbers are above and negative numbers below * * NB! Supports only g clef * @param pitch string */ export declare const getStaffPosition: (pitch: string, clef?: supportedClef) => number | undefined; export {};