Refactor code structure for improved readability and maintainability
Test Suite / test (24.15.0) (push) Has been cancelled
Test Suite / test (24.15.0) (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
export interface QuickImportResult {
|
||||
markdown: string;
|
||||
source: 'ica' | 'pdf' | 'image' | 'other';
|
||||
imageUrl?: string;
|
||||
imageWarning?: string;
|
||||
}
|
||||
export declare class QuickImportService {
|
||||
private readonly logger;
|
||||
importFromInput(input: string): Promise<QuickImportResult>;
|
||||
importFromUpload(file: Express.Multer.File): Promise<QuickImportResult>;
|
||||
private handleImporterResponse;
|
||||
private downloadImageIfNeeded;
|
||||
}
|
||||
Reference in New Issue
Block a user