import { IRecordID } from '../shared/types.js'; /** * Builds the key that will be used to locate a record * @param storeID * @param recordID * @returns string */ declare const buildDataKey: (storeID: string, recordID: IRecordID) => string; /** * Returns the value of a property based on a key. * @param key * @returns any */ declare const getWindowProp: (key: keyof Window) => T | undefined; /** * Attempts to parse JSON data. * @param data * @returns T * @throws * - FAILED_TO_PARSE_JSON: if the JSON string is invalid. */ declare const parseJSON: (data: string) => T; /** * Attempts to stringify a JSON object. * @param data * @returns string */ declare const stringifyJSON: (data: T) => string; export { buildDataKey, getWindowProp, parseJSON, stringifyJSON };