import { type ApiKeyStatus, type AuthAuditHook } from "@hasna/contracts/auth"; import { ProjectsPgStore } from "./pg-store.js"; import { type ContactProjectMembershipAuthority } from "../lib/project-contact-links.js"; export interface ServeAppOptions { store: ProjectsPgStore; contacts?: ContactProjectMembershipAuthority; version: string; app?: string; signingSecret: string | Buffer; keyStatus?: (kid: string) => ApiKeyStatus | Promise; allowUnregisteredKeys?: boolean; audit?: AuthAuditHook; } /** Build the fetch handler used by Bun.serve (and directly testable). */ export declare function createFetchHandler(options: ServeAppOptions): (req: Request) => Promise; //# sourceMappingURL=app.d.ts.map