export declare function runCommand(command: string, args: string[]): string; /** Read `WxH` for an image file via ffprobe. Returns null when unparsable. */ export declare function getImageDimensions(filePath: string): [number, number] | null; /** * Convert WebP-disguised PNGs to real PNGs in place (Venice returns WebP * internally). Ensures multi-edit gets proper PNG input and dimensions * parse correctly. */ export declare function ensureRealPng(filePath: string): Promise; /** * Center-crop `filePath` to the target aspect ratio, then scale to the * target dimensions (lanczos). No-op when the ratios already match. */ export declare function restoreAspectRatio(filePath: string, targetWidth: number, targetHeight: number): Promise; /** * Parse an `"W:H"` aspect-ratio string into target pixel dimensions at the * given long-edge budget (default 1376, the harness's 1K panel long edge). * Returns null for unparsable input. */ export declare function aspectRatioToDimensions(aspectRatio: string, longEdge?: number): [number, number] | null; //# sourceMappingURL=edit-post.d.ts.map