UNPKG

@looker/sdk-rtl

Version:
17 lines (16 loc) 872 B
export declare const matchCharset = ";.*\bcharset\b="; export declare const matchCharsetUtf8 = ";.*\bcharset\b=.*\\butf-8\\b"; export declare const matchModeString = "(^application\\/.*(\\bjson\\b|\\bxml\\b|\\bsql\\b|\\bgraphql\\b|\\bjavascript\\b|\\bx-www-form-urlencoded\\b)|^text\\/|.*\\+xml\\b|;.*\bcharset\b=)"; export declare const matchModeBinary = "^image\\/|^audio\\/|^video\\/|^font\\/|^application\\/|^multipart\\/"; export declare const isTrue: (value: string) => boolean; export declare const isFalse: (value: string) => boolean; export declare const boolDefault: (value: string, defaultBool?: boolean) => boolean; export declare const unquote: (value: string | undefined | null) => string; export type Url = string; export interface IDictionary<T> { [key: string]: T; } export type Password = string; export type ArgValues = { [key: string]: any; };