import type { TransformFactory } from '../types.js'; export interface ResizeOptions { /** width in pixels */ w: string; /** height in pixels */ h: string; /** aspect ratio */ aspect: string; /** Whether to allow making images larger. This is generally a waste, so is disabled by default. */ allowUpscale: '' | 'true'; /** * The width in pixels for the 1x pixel density descriptor. * If supplied, the srcset, img and picture output formats use pixel density descriptors rather than width descriptors. * This is consumed when generating the output, so it can be used with or without a `w`/`h`/`aspect` directive. */ basePixels: string; } export declare const resize: TransformFactory;