import { ParseExtension } from "./types";
export declare function microsecondsToMilliseconds(microseconds: number): number;
export declare function microsecondsToSeconds(microseconds: number): number;
export declare function millisecondsToMicroseconds(milliseconds: number): number;
export declare function secondsToMicroseconds(seconds: number): number;
export declare function minutesToMicroseconds(minutes: number): number;
export declare function hoursToMicroseconds(hours: number): number;
export declare function framesToMicroseconds(frames: number, fps: number): number;
export declare function timecodeToMicroseconds(timecode: string, fps?: number): number;
/**
 * Converts microseconds to SRT time format (00:00:00,000)
 * @param microseconds - Time in microseconds
 * @return {string} - Time in SRT format
 */
export declare function microsecondsToSrtTimestamp(microseconds: number): string;
export declare function extractStyling(text: string): string;
export declare function cleanUpText(text: string | undefined, removeTextFormatting?: boolean): string;
/**
 * Checks if input file is potentially any of the following
 * subitle files: .srt, .vtt, .scc, .ttml(same as .dfxp).
 * @param subtitle The utf-8 string content of any file type.
 * @return One of the extensions from description or undefined
 */
export declare function getExtension(subtitle: string): ParseExtension | undefined;
//# sourceMappingURL=utils.d.ts.map