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) • 539 B
TypeScript
import { type FrameworkBkndConfig, type FrameworkOptions } 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, opts?: FrameworkOptions): Promise<import("../..").App>;
export declare function serve<Env = AstroEnv>(config?: AstroBkndConfig<Env>, args?: Env, opts?: FrameworkOptions): (fnArgs: TAstro) => Promise<Response>;
export {};