import { S3Store } from "../tus/stores/s3/s3Store.mjs"; import { StaticHandler } from "@payloadcms/plugin-cloud-storage/types"; //#region src/adapter/staticHandler.d.ts interface StaticHandlerArgs { getS3Store: () => S3Store; collection: string; } /** * Creates a static handler that serves files from S3 or returns empty responses for Mux assets * @param args - The arguments for creating the static handler * @param args.getS3Store - Function that returns an S3 client instance * @param args.collection - The name of the media collection in Payload * @returns A StaticHandler function that serves files or empty responses based on storage type */ declare function getStaticHandler(args: StaticHandlerArgs): StaticHandler; //#endregion export { getStaticHandler }; //# sourceMappingURL=staticHandler.d.mts.map