import { FileRouter, RouteHandlerOptions, UTFiles, UTRegion, UnsetMarker, UploadBuilder } from "../dist/types-Bs3w2d_3.js"; import { CreateBuilderOptions } from "../dist/upload-builder-BcFawEj0.js"; import * as _uploadthing_shared8 from "@uploadthing/shared"; import { Json } from "@uploadthing/shared"; import { FastifyInstance, FastifyReply, FastifyRequest } from "fastify"; //#region src/fastify.d.ts type AdapterArgs = { req: FastifyRequest; res: FastifyReply; }; declare const createUploadthing: (opts?: CreateBuilderOptions) => (input: _uploadthing_shared8.FileRouterInputConfig, config?: TRouteOptions | undefined) => UploadBuilder<{ _routeOptions: TRouteOptions; _input: { in: UnsetMarker; out: UnsetMarker; }; _metadata: UnsetMarker; _adapterFnArgs: AdapterArgs; _errorShape: TErrorShape; _errorFn: UnsetMarker; _output: UnsetMarker; }>; declare const createRouteHandler: (fastify: FastifyInstance, opts: RouteHandlerOptions, done: (err?: Error) => void) => void; //#endregion export { type FileRouter, UTFiles, createRouteHandler, createUploadthing, UTRegion as experimental_UTRegion }; //# sourceMappingURL=index.d.ts.map