UNPKG

gif-tools

Version:

A robust, zero-dependency TypeScript library for creating GIF files with support for both static and animated GIFs. Built with modern TypeScript features and designed to work in both Node.js and browser environments.

24 lines (23 loc) 1.4 kB
/** * CLI command implementations. * * Each command takes the already-parsed argv tail (everything after the * top-level command name) and performs its work. Commands write to stdout/ * stderr for status and exit non-zero by throwing CliError. */ interface CommandContext { quiet: boolean; } export declare function infoCommand(argv: string[], ctx: CommandContext): Promise<void>; export declare function resizeCommand(argv: string[], ctx: CommandContext): Promise<void>; export declare function cropCommand(argv: string[], ctx: CommandContext): Promise<void>; export declare function rotateCommand(argv: string[], ctx: CommandContext): Promise<void>; export declare function flipCommand(argv: string[], ctx: CommandContext): Promise<void>; export declare function adjustCommand(argv: string[], ctx: CommandContext): Promise<void>; export declare function blurCommand(argv: string[], ctx: CommandContext): Promise<void>; export declare function reverseCommand(argv: string[], ctx: CommandContext): Promise<void>; export declare function speedCommand(argv: string[], ctx: CommandContext): Promise<void>; export declare function optimizeCommand(argv: string[], ctx: CommandContext): Promise<void>; export declare function extractCommand(argv: string[], ctx: CommandContext): Promise<void>; export declare function createCommand(argv: string[], ctx: CommandContext): Promise<void>; export {};