astro-ghostcms/.pnpm-store/v3/files/8e/2a061ff1bee412573c1ab6aec71...

14 lines
339 B
Plaintext

export type ISize = {
width: number | undefined;
height: number | undefined;
orientation?: number;
type?: string;
};
export type ISizeCalculationResult = {
images?: ISize[];
} & ISize;
export type IImage = {
validate: (input: Uint8Array) => boolean;
calculate: (input: Uint8Array) => ISizeCalculationResult;
};