import { AreaName, Bucket } from '../types'; import { chromepApi } from 'chrome-promise/chrome-promise'; export { Bucket }; export declare const getStorageArea: (area: AreaName) => chromepApi.storage.StorageArea; /** * Create a bucket (synthetic storage area). * * @param {string} bucketName Must be a id for each bucket. * @param {string} [areaName = 'local'] The name of the storage area to use. * @returns {Bucket} Returns a bucket. */ export declare function getBucket>(bucketName: string, areaName?: AreaName): Bucket;