declare namespace GoogleAppsScript {
    namespace AdminGroupsMigration {
        namespace Collection {
            interface ArchiveCollection {
                // Inserts a new mail into the archive of the Google group.
                insert(groupId: string): AdminGroupsMigration.Schema.Groups;
                // Inserts a new mail into the archive of the Google group.
                insert(groupId: string, mediaData: any): AdminGroupsMigration.Schema.Groups;
            }
        }
        namespace Schema {
            interface Groups {
                kind?: string | undefined;
                responseCode?: string | undefined;
            }
        }
    }
    interface AdminGroupsMigration {
        Archive: AdminGroupsMigration.Collection.ArchiveCollection;
    }
}

/**
 * The `AdminGroupsMigration` advanced service must be enabled.
 */
declare var AdminGroupsMigration: GoogleAppsScript.AdminGroupsMigration | undefined;
