/**
Generate a random file name within a given path and optional extension.

@param path - The file path within to generate a temporary file.
@param extension - File extension.

@return The generarted filename.
*/
export function uniqueFilename(path: string, extension?: string): string;
