UNPKG

ilingo

Version:

This is a lightweight library for translation.

11 lines 523 B
import type { LocalesRecord } from '../types'; import type { MemoryStoreOptions, Store, StoreGetContext, StoreSetContext } from './types'; export declare class MemoryStore implements Store { protected data: LocalesRecord; constructor(options: MemoryStoreOptions); get(context: StoreGetContext): Promise<string | undefined>; set(context: StoreSetContext): Promise<void>; protected initLines(group: string, locale: string): void; getLocales(): Promise<string[]>; } //# sourceMappingURL=memory.d.ts.map