import { UserData } from './user-data'; /** * Waits for the specified amount of time before resolving the returned promise. * * @param timeout - The duration in milliseconds to wait before resolving. * @returns A promise that resolves after the specified time has elapsed. * @internal */ export declare function wait(timeout: number): Promise; /** * Generates a unique identifier for a dashboard. * * @returns The generated dashboard identifier. */ export declare function generateDashboardId(): string; /** * Checks if the user data is up-to-date with the current version of the application. * @param userData - the user data to compare with the application version * @param currentVersion - the current version of the application */ export declare function isUserDataUpToDate(userData: UserData | undefined, currentVersion: string): boolean; /** * Loads the contents of a specified file. * * @param file - The file object to load contents from. * @param encoding - The encoding to use while reading the file. Default is UTF-8. * * @returns - A Promise that resolves with the contents of the file as a string. * - If the file is empty, the Promise will be rejected with an error. */ export declare function loadFileContents(file: File, encoding?: string): Promise;