Files
bentopdf/public/workers/alternate-merge.worker.d.ts
abdullahalam123 09436a689d feat(rotate,delete-pages): Add custom rotation angles and enhance page management UI
- Add TypeScript type definitions for merge and alternate-merge Web Workers
- Implement custom rotation angle input with increment/decrement controls for rotate tool
- Extend delete-pages tool to render page thumbnails for better UX
- Hide number input spin buttons across all number inputs via CSS
- Refactor rotateAll function to accept angle parameter instead of direction multiplier
- Update fileHandler to support delete-pages tool thumbnail rendering
- Improve type safety in alternate-merge logic with proper interface definitions
- Enhance rotate tool UI with custom angle input field and adjustment buttons
2025-12-01 14:54:46 +05:30

24 lines
504 B
TypeScript

declare const coherentpdf: typeof import('../../src/types/coherentpdf.global').coherentpdf;
interface InterleaveFile {
name: string;
data: ArrayBuffer;
}
interface InterleaveMessage {
command: 'interleave';
files: InterleaveFile[];
}
interface InterleaveSuccessResponse {
status: 'success';
pdfBytes: ArrayBuffer;
}
interface InterleaveErrorResponse {
status: 'error';
message: string;
}
type InterleaveResponse = InterleaveSuccessResponse | InterleaveErrorResponse;