imagetools-core
Version:
9 lines (8 loc) • 581 B
TypeScript
import type { TransformOption } from '../types.js';
export declare const positionValues: readonly ["top", "right top", "right", "right bottom", "bottom", "left bottom", "left", "left top", "north", "northeast", "east", "southeast", "south", "southwest", "west", "northwest", "center", "centre", "entropy", "attention"];
export declare const positionShorthands: string[];
export type PositionValue = (typeof positionValues)[number];
export interface PositionOptions {
position: PositionValue;
}
export declare const getPosition: TransformOption<PositionOptions, PositionValue>;