export declare function random(length: number): string;
/**
 * Generate table name from CSV file name, with suffix is
 * random 7 characters to make sure not duplicated.
 * @return:
 *  Hello World => hello_world_<random_unique>
 *  000 Hello World => hello_world_<random_unique>
 */
export declare const generateTableName: (csvFileName: string) => string;
/**
 * Convert text to a capitalized title which contains [a-zA-Z0-9] characters and non-number-prefix.
 * @return:
 *  Hello World => Hello world
 *  000 Hello  World => Hello world
 */
export declare const generateTitle: (text: string) => string;
/**
 * Remove file extension
 * @return:
 *  HelloWorld.csv => HelloWorld
 *  HelloWorld => HelloWorld
 */
export declare const removeFileExtension: (fullFileName: string) => string;
/**
 * Convert title to string which contains [a-zA-Z0-9] characters and non-number-prefix.
 * @return:
 *  Hello World => Hello World
 *  000 Hello  World => Hello World
 */
export declare const removeNumberPrefix: (text: string) => string;
/**
 * Convert title to an id which contains only non-whitespace characters and no number prefix.
 * @return:
 *  Hello World => Hello_World
 *  000 Hello World => Hello_World
 */
export declare const normalizeToValidId: (text: string) => string;
/**
 * Convert title to a dataset id which contains only [a-zA-Z0-9_] characters and no number-prefix.
 */
export declare const normalizeToValidDatasetId: (text: string) => string;
