import type { RequestHandler } from "express"; import { ProxyConfig } from "./config"; /** * The default Express route for the fal.ai client proxy. */ export declare const route = "/api/fal/proxy"; /** * Creates a request handler that proxies requests to the fal API. * * This is a drop-in handler for Express applications so that the client can be called * directly from the client-side code while keeping API keys safe. * * @param config the proxy configuration options. * @returns an Express request handler function. */ export declare const createHandler: (config?: Partial) => RequestHandler; /** * The Express route handler for the fal.ai client proxy. * * @param request The Express request object. * @param response The Express response object. * @param next The Express next function. * * @deprecated Use `createHandler` instead. */ export declare const handler: RequestHandler;