UNPKG

bknd

Version:

Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.

10 lines (9 loc) 605 B
import { type FrameworkBkndConfig } from "bknd/adapter"; type AstroEnv = NodeJS.ProcessEnv; type TAstro = { request: Request; }; export type AstroBkndConfig<Env = AstroEnv> = FrameworkBkndConfig<Env>; export declare function getApp<Env = AstroEnv>(config?: AstroBkndConfig<Env>, args?: Env): Promise<import("../..").App<import("../..").Connection<unknown>, import("../../core/types").PartialRec<import("../..").ModuleConfigs>, import("../../App").AppOptions>>; export declare function serve<Env = AstroEnv>(config?: AstroBkndConfig<Env>, args?: Env): (fnArgs: TAstro) => Promise<Response>; export {};