import { type RequestHandler } from "@sveltejs/kit";
import { ProxyConfig } from "./config";
type RequestHandlerParams = Partial<ProxyConfig> & {
    /**
     * The credentials to use for the request. Usually comes from `$env/static/private`
     *
     * @deprecated Use `resolveFalAuth` in `ProxyConfig` instead.
     */
    credentials?: string | undefined;
};
/**
 * Creates the SvelteKit request handler for the fal.ai client proxy on App Router apps.
 * The passed credentials will be used to authenticate the request, if not provided the
 * environment variable `FAL_KEY` will be used.
 *
 * @param params the request handler parameters.
 * @returns the SvelteKit request handler.
 */
export declare const createRequestHandler: ({ credentials, ...config }?: RequestHandlerParams) => {
    requestHandler: RequestHandler;
    GET: RequestHandler;
    POST: RequestHandler;
    PUT: RequestHandler;
};
export {};
