// Generated by typings // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/a396c170ba4b6a7f45b20fccbdba0d2b81cc8833/pouchdb-adapter-websql/pouchdb-adapter-websql.d.ts declare namespace PouchDB { namespace Core { interface DatabaseInfo { sqlite_plugin?: boolean; websql_encoding?: 'UTF-8' | 'UTF-16'; } } namespace AdapterWebSql { interface Configuration extends Configuration.LocalDatabaseConfiguration { /** * Amount in MB to request for storage. */ size?: number; adapter: 'websql'; } } interface Static { new(name: string | void, options: AdapterWebSql.Configuration): Database; } } declare module 'pouchdb-adapter-websql' { const plugin: PouchDB.Plugin; export = plugin; }