import { BooleanBasic } from '../common/boolean'; /** * Determine if a value is an empty string, array, object or falsy. * @param value Value to check. * * @returns True if the value is empty. */ export declare function isBlank(value: T | T[]): boolean; /** * Determine if a value is an empty string, array, object. * @param value Value to check. * * @returns True if the value is empty. */ export declare function isEmpty(value: T | T[]): boolean; /** * Check if value is an array. * @param value The value to check. * * @returns True if the value is an array. False otherwise. */ export declare function isArray(value: T): boolean; /** * Check if value is a string. * @param value The value to check. * * @returns True if the value is a string. False otherwise. * */ export declare function isString(value: T): boolean; /** * Check if value is null or undefined. * @param value The value to check. * * @returns True if the value is null or undefined. False otherwise. * */ export declare function isNullOrUndefined(value: T): boolean; /** * Check if a value is an object. * @param value The value to check. * * @returns True if the value is an object. False otherwise. * */ export declare function isObject(value: T): boolean; /** * Parse an XML string. * @param xml The XML string to parse. * * @returns The parsed XML value. */ export declare function fromXml(xml: string): object; /** * Parse a YAML string. * @param yaml The YAML string to parse. * * @returns The parsed YAML value. */ export declare function fromYaml(yaml: string): object; /** * Parse a CSV string. * @param csv The CSV string to parse. * @param headersIncluded If the first line of the CSV string is a list of header names. * * @returns The parsed CSV value. */ export declare function fromCsv(csv: string, headersIncluded?: boolean): object[]; /** * Parse a CSV string. * @param csv The CSV string to parse. * @param headersIncluded If the first line of the CSV string is a list of header names. * * @returns The parsed CSV value. */ export declare function fromCsvBasic(csv: string, headersIncluded?: BooleanBasic | H): object[] | string[][]; /** * Serialize a value to XML. * @param value The value to serialize. * * @returns The XML string. */ export declare function toXml(value: object): string; /** * Serialize a value to YAML. * @param value The value to serialize. * * @returns The YAML string. */ export declare function toYaml(value: object): string; /** * Serialize a value to CSV. * @param value The value to serialize. * * @returns The CSV string. */ export declare function toCsv(value: { [key: string]: unknown; }[]): string;