imagetools-core
Version:
8 lines (7 loc) • 314 B
TypeScript
import type { TransformOption } from '../types.js';
export declare const fitValues: readonly ["cover", "contain", "fill", "inside", "outside"];
export type FitValue = (typeof fitValues)[number];
export interface FitOptions {
fit: FitValue;
}
export declare const getFit: TransformOption<FitOptions, FitValue>;