import { S3Client } from '@aws-sdk/client-s3'; import { Adapter } from '../index.js'; interface MinioAdapterOptions { bucket: string; endpoint: string; accessKeyId?: string; secretAccessKey?: string; region?: string; forcePathStyle?: boolean; /** * Origin used to build URLs from `url()`. When set, `url(key)` returns * `${publicBaseUrl}/${key}` — appropriate for a public bucket policy or * a reverse proxy in front of MinIO. When unset, `url()` falls back to * a presigned GetObject (default expiry: 1 hour). */ publicBaseUrl?: string; /** * Default expiry, in seconds, for the presigned URLs returned by * `url()` when `publicBaseUrl` is not set. Defaults to 3600 (1 hour). */ defaultUrlExpiresIn?: number; } type MinioAdapter = Adapter; declare const minio: (opts: MinioAdapterOptions) => MinioAdapter; export { type MinioAdapter, type MinioAdapterOptions, minio };