@lylajs/core
Version:
8 lines • 544 B
TypeScript
import type { LylaError, LylaErrorWithRetry } from './error';
import type { LylaRequestOptions, Lyla, LylaAdapter, LylaAdapterMeta, LylaRequestOptionsWithContext } from './types';
export declare function createLyla<C, M extends LylaAdapterMeta>(adapter: LylaAdapter<M>, lylaOptions: LylaRequestOptionsWithContext<C, M>, ...overrides: LylaRequestOptions<C, M>[]): {
isLylaError(e: unknown): e is LylaError<C, M>;
isLylaErrorWithRetry(e: unknown): e is LylaErrorWithRetry<C, M>;
lyla: Lyla<C, M>;
};
//# sourceMappingURL=core.d.ts.map