UNPKG

@google-cloud/storage-control

Version:
23 lines (22 loc) 939 B
/** * This function loops through the files and calls the AST function on them. * * @param {string[]} files - A list of file paths to process. * @param {string[]} clients - A list of client names to process. * @returns {string} The generated source code for all the methods. */ export declare function astHelper(files: string[], clients: string[]): string; /** * This function converts client types to the names we'll use for variables. * * @param {string} client - The name of the client. * @returns {string} The name of the client in camel case. */ export declare function parseClientName(client: string): string; /** * This function returns all the public property declarations in a file. * * @param {string} file - The path to the file to process. * @returns {Map<string, string>} A map of public property names to their full text. */ export declare function getPropertyDeclarations(file: string): Map<string, string>;