UNPKG

propresenter-parser

Version:

Parses ProPresenter 4, 5, and 6 files to extract the data, and can build ProPresenter 5 and 6 files

18 lines (17 loc) 953 B
import { IRgbColor } from './shared.model'; export declare const patternHexColor: RegExp; export declare const patternRgbaStrAsString = "[10](?:\\.\\d+)? [10](?:\\.\\d+)? [10](?:\\.\\d+)? [10](?:\\.\\d+)?"; export declare const patternRgbaStr: RegExp; export declare const stripRtf: (str: string) => string; export declare const formatRtf: (text: string, font?: string, size?: number, color?: IRgbColor) => string; export declare const getTextPropsFromRtf: (str: string) => { color: IRgbColor; font: string; size: number; }; export declare const getIsoDateString: () => string; export declare const getUniqueID: () => string; export declare const hexToRgb: (hex: string) => IRgbColor; export declare const normalizeColorToRgbaString: (color: string | IRgbColor) => string; export declare const normalizeColorToRgbObj: (color: string | IRgbColor) => IRgbColor; export declare const normalizeColorToHex: (color: string | IRgbColor) => string;