declare type Callback = (error: string | null, data: unknown) => void; declare type LoadResult = [string | null, Record | boolean]; export default class Backend { type: string; static type: 'backend'; read(lng: string, _namespace: string, responder: Callback): Promise; createLoader(lng: string): Promise; } export {};