bc1f3d9d73
- Add .claude-plugin/plugin.json manifest (name: browse) - Add 11 slash commands: start, end, goto, screenshot, scrape, analyze, extract, fill, compare, save, restore - Add MCP resources: browser://state, browser://html, browser://screenshot - Add MCP prompts: analyze_page, extract_data, navigate_to, fill_form, compare_screenshots - Add session management tools: close, session_save, session_restore - Include dist/ for plugin installation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
1.1 KiB
TypeScript
21 lines
1.1 KiB
TypeScript
export type FitType = 'cover' | 'contain' | 'fill' | 'inside' | 'outside';
|
|
export type FormatType = 'png' | 'jpeg' | 'webp' | 'avif';
|
|
export type ThumbnailSize = 'small' | 'medium' | 'large';
|
|
export interface FaviconResult {
|
|
files: string[];
|
|
outputDir: string;
|
|
}
|
|
export interface ImageResult {
|
|
path: string;
|
|
width?: number;
|
|
height?: number;
|
|
format?: string;
|
|
size?: number;
|
|
}
|
|
export declare function createFavicon(input: string, outputDir: string): Promise<FaviconResult>;
|
|
export declare function convert(input: string, output: string, format: FormatType): Promise<ImageResult>;
|
|
export declare function resize(input: string, output: string, width: number, height?: number, fit?: FitType): Promise<ImageResult>;
|
|
export declare function crop(input: string, output: string, left: number, top: number, width: number, height: number): Promise<ImageResult>;
|
|
export declare function compress(input: string, output: string, quality?: number): Promise<ImageResult>;
|
|
export declare function thumbnail(input: string, output: string, size?: ThumbnailSize): Promise<ImageResult>;
|
|
//# sourceMappingURL=image.d.ts.map
|