import { type Writable } from 'svelte/store'; import type { EncryptionHelper } from './encryptionHelper.js'; import type { Mint } from '../../../db/models/types.js'; export declare const createDefaultStoreFunctions: (encryptionHelper: EncryptionHelper, store: Writable) => { init: () => Promise; remove: (id: string, idFieldDescr: keyof T) => Promise; addOrUpdate: (id: string, element: T, idFieldDescr: keyof T) => Promise; clear: () => void; reset: () => Promise; reEncrypt: () => Promise; getBy: (id: string, idFieldDescr: keyof T) => T | undefined; getAllBy: (ids: string[], idFieldDescr: keyof T) => T[]; addMany: (elements: T[]) => Promise; add: (o: T) => Promise; removeMany: (ids: string[], idFieldDescr: keyof T) => Promise; addOrUpdateMany: (elements: T[], idFieldDescr: keyof T) => Promise; }; export declare const getBy: (array: T[], id: string, idFieldDescr: keyof T) => T | undefined; export declare const getByMany: (array: T[], id: string[], idFieldDescr: keyof T) => T[]; export declare const getByHost: (array: Mint[], host: string) => Mint | undefined;