elearning/Frontend-Learner/node_modules/unstorage/drivers/uploadthing.d.mts
2026-01-13 10:48:02 +07:00

8 lines
390 B
TypeScript

import { UTApi } from "uploadthing/server";
type UTApiOptions = Omit<Exclude<ConstructorParameters<typeof UTApi>[0], undefined>, "defaultKeyType">;
export interface UploadThingOptions extends UTApiOptions {
/** base key to add to keys */
base?: string;
}
declare const _default: (opts: UploadThingOptions) => import("..").Driver<UploadThingOptions, UTApi>;
export default _default;