export type RemotePattern = { protocol?: 'http' | 'https'; hostname: string; port?: string; pathname?: string; }; type StripPrefix = T extends `${K}${infer V}` ? V : T; export type ImageFormat = 'image/avif' | 'image/webp'; export type ImageFormatWithoutPrefix = StripPrefix; export type ImagesConfig = { sizes: number[]; domains: string[]; remotePatterns?: RemotePattern[]; minimumCacheTTL?: number; formats?: ImageFormat[]; dangerouslyAllowSVG?: boolean; contentSecurityPolicy?: string; contentDispositionType?: string; }; export {}; //# sourceMappingURL=types.d.ts.map