frontend/.pnpm-store/v3/files/59/b18a749f328f8a56b44a42fc042d9ee592d72d38cb3899cf30c5cdbd02a94f1764ab89aff790f4343ceceb89aa0b10399e1bb99a241e5d8aa0f64c09cf01d5

20 lines
604 B
Plaintext

import { UserConfig } from '../config';
import Storage from './storage';
declare class StorageUtils {
/**
* Accepts the userConfig dict and tries to guess and return a Storage type
*
* @param userConfig
*/
static createFromUserConfig(userConfig: UserConfig): Storage<any>;
/**
* Accepts a HTML table element and converts it into a 2D array of data
*
* TODO: This function can be a step in the pipeline: Convert Table -> Load into a memory storage -> ...
*
* @param element
*/
static tableElementToArray(element: HTMLElement): any[][];
}
export default StorageUtils;