export declare const CONTROL: RegExp; export declare const NON_US_ASCII: RegExp; export declare const VALUE_CHAR: RegExp; export declare const SAFE_CHAR: RegExp; export declare const QSAFE_CHAR: RegExp; export declare const quotedString: RegExp; export declare const value: RegExp; export declare const paramtext: RegExp; export declare const paramValue: RegExp; export declare const vendorId: RegExp; export declare const xName: RegExp; export declare const ianaToken: RegExp; export declare const paramName: RegExp; export declare const param: RegExp; export declare const name: RegExp; export declare const contentline: RegExp; export declare const TSAFE_CHAR: RegExp; export declare const valueTypeBinary: RegExp; export declare const valueTypeBoolean: RegExp; export declare const valueTypeDate: RegExp; export declare const valueTypeDateTime: RegExp; export declare const valueTypeDuration: RegExp; export declare const valueTypeFloat: RegExp; export declare const valueTypeInteger: RegExp; export declare const valueTypePeriod: RegExp; export declare const valueTypeText: RegExp; export declare const valueTypeTime: RegExp; export declare const valueTypeUtcOffset: RegExp; export declare const regName: RegExp; export declare const contentType: RegExp; /** * Check if a string matches a pattern for the whole string. * @param pattern The RegExp pattern to match against. * @param text The text to check. * @returns Whether or not the string matches. */ export declare function matchesWholeString(pattern: RegExp, text: string): boolean; /** * Get the ordinal (character code) of a character. * @param char The character to get the ordinal value of. * @returns The ordinal as a number. * @throws If the input string is empty. */ export declare function ord(char: string): number; /** * Check if a character is allowed in a property or parameter name. * @param char The character to check. * @returns Whether or not the character is allowed. */ export declare function isNameChar(char: string): boolean; /** * Check if a character is allowwed in a property value. * @param char The character to check. * @returns Whether or not the character is allowed. */ export declare function isPropertyValueChar(char: string): boolean; /** * Check if a character is allowwed in a parameter value. * @param char The character to check. * @param quoted Whether or not the parameter value is quoted, this allows ';', ':' and ','. * @returns Whether or not the character is allowed. */ export declare function isParameterValueChar(char: string, quoted?: boolean): boolean; //# sourceMappingURL=patterns.d.ts.map