gmail-to-exchange365
Version:
Complete Gmail to Exchange 365 migration tool with UI - Migrate emails, attachments, and folders seamlessly
6 lines • 476 B
TypeScript
import { Client } from "@microsoft/microsoft-graph-client";
import { FolderMapping } from "./types";
export declare function getOrCreateFolder(client: Client, folderName: string, parentFolderId?: string): Promise<string>;
export declare function mapGmailLabelsToFolders(client: Client, gmailLabels: string[]): Promise<FolderMapping[]>;
export declare function getFolderIdForLabel(mappings: FolderMapping[], labels: string[]): string;
//# sourceMappingURL=folderMapper.d.ts.map