feedbacker-react
Version:
A drop-in React feedback system for component-level feedback capture during development and design review
41 lines • 1.24 kB
TypeScript
/**
* Export module - Handles feedback data export in multiple formats
*/
export { MarkdownExporter } from './MarkdownExporter';
export { ZipExporter } from './ZipExporter';
export type { ExportOptions, ExportManager as IExportManager } from '../types';
/**
* Combined export manager that handles both formats
*/
import { Feedback, ExportOptions } from '../types';
export declare class ExportManager {
/**
* Export feedback in the specified format
*/
static exportFeedback(feedbacks: Feedback[], options: ExportOptions): Promise<void>;
/**
* Get export format information
*/
static getFormatInfo(format: 'markdown' | 'zip'): {
name: string;
description: string;
extension: string;
includesImages: boolean;
fileSize: string;
} | {
name: string;
description: string;
extension: string;
includesImages: boolean;
fileSize: string;
};
/**
* Estimate export size (rough calculation)
*/
static estimateExportSize(feedbacks: Feedback[], format: 'markdown' | 'zip'): string;
/**
* Format bytes into human-readable string
*/
private static formatBytes;
}
//# sourceMappingURL=index.d.ts.map