UNPKG

feedbacker-react

Version:

A drop-in React feedback system for component-level feedback capture during development and design review

37 lines 1.21 kB
/** * Screenshot Adapter Utility * Provides backward-compatible screenshot capture using the adapter system */ import { CaptureOptions, CaptureResult, CaptureAdapter } from '../types/capture'; /** * Initialize capture manager with custom adapter if provided */ export declare function initializeCaptureManager(library?: string, adapter?: CaptureAdapter): void; /** * Capture screenshot using the adapter system * This replaces the old captureScreenshotWithFallback function */ export declare function captureScreenshotWithAdapters(element: HTMLElement, options?: CaptureOptions & { library?: string; adapter?: CaptureAdapter; }): Promise<CaptureResult>; /** * Get list of available capture libraries */ export declare function getAvailableCaptureLibraries(): string[]; /** * Check if a specific library is supported */ export declare function isCaptureLibrarySupported(library: string): Promise<boolean>; /** * Get current adapter info */ export declare function getCurrentCaptureAdapterInfo(): { name: string; version?: string; } | null; /** * Clean up capture resources */ export declare function cleanupCaptureResources(): void; //# sourceMappingURL=screenshot-adapter.d.ts.map