UNPKG

@openstream/client

Version:
15 lines 500 B
import type { PaymentsClient } from "./payments-client.js"; type Request = { body: unknown; }; type Response = { json: (object: any) => void; }; type Next = (e?: any) => void; type Router = { post: (path: string, fn: (req: Request, res: Response, next: Next) => void) => void; }; type ValidateRethrow = <T>(fn: () => T) => T; export declare const add_all: (router: Router, client: PaymentsClient, validate_rethrow: ValidateRethrow) => void; export {}; //# sourceMappingURL=router.d.ts.map