import type { AcceptedImageOutputFormats } from '../data.js'; export type PictureOptimizeProps = { width?: number; height?: number; quality?: number; position?: string; fit?: string; background?: string; customName?: string; }; export type ImageOptimizeProps = PictureOptimizeProps & { preload?: 'prefetch' | 'preload'; format?: AcceptedImageOutputFormats; }; export declare function toOptimizedURL(url: string, optimizeOptions?: PictureOptimizeProps & { format?: AcceptedImageOutputFormats; }): string;