| Server IP : 159.203.156.69 / Your IP : 216.73.216.28 Web Server : nginx/1.24.0 System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/tanviranik.com/node_modules/unpic/script/src/providers/ |
Upload File : |
import { Operations, URLExtractor, type URLTransformer } from "../types.js";
import { URLGenerator } from "../types.js";
export type FitType = "cover" | "contain" | "fill" | "inside" | "outside";
export type Position = "center" | "top" | "right top" | "right" | "right bottom" | "bottom" | "left bottom" | "left" | "left top";
export interface BuilderOperations extends Operations {
/**
* Defines how the image fits into the specified dimensions.
* Possible values:
* - `cover`: Scales the image to cover the target dimensions while maintaining aspect ratio.
* - `contain`: Scales the image to fit within the target dimensions without cropping.
* - `fill`: Stretches the image to fill both dimensions, potentially distorting the aspect ratio.
* - `inside`: Scales the image to fit within the target dimensions, with both sides being within the limits.
* - `outside`: Scales the image to be fully outside the target dimensions, while maintaining aspect ratio.
*/
fit?: FitType;
/**
* Defines the cropping anchor point when resizing the image.
* Possible values:
* - `center`, `top`, `right top`, `right`, `right bottom`, `bottom`, `left bottom`, `left`, `left top`.
*/
position?: Position;
/**
* Undocumented option to enable use of sharp library. ENabled automatically when using `format: "webp"`.
* Required for crop support, so is enabled by default with Unpic.
*/
sharp?: boolean;
}
export declare const extract: URLExtractor<"builder.io">;
export declare const generate: URLGenerator<"builder.io">;
export declare const transform: URLTransformer<"builder.io">;
//# sourceMappingURL=builder.io.d.ts.map