import { IProjectSetupData } from 'projectSetup'; import { BaseTask, IBaseTaskParams } from '../@BaseTask'; import { OnProgressCallbackFunction } from '../OnProgressCallbackFunction'; export declare class CopyListData extends BaseTask { constructor(data: IProjectSetupData); /** * Execute CopyListData. * * Creates a Planner plan for the Microsoft 365 group, then loops * through all list data configurations. For each configuration, * it will either create a Planner plan or copy list items based * on the configuration type. * * If there's no Planner configuration, it will create a default * one. * * @param params Task parameters * @param onProgress On progress function */ execute(params: IBaseTaskParams, onProgress: OnProgressCallbackFunction): Promise; /** * Parses Planner configuration from Planner task items. * * @param items Planner task items */ private parsePlannerConfiguration; /** * Creates a default Planner plan if there's no Planner configuration. This * makes sure we have a Planner web part that doesn't throw errors. * * @param params Task parameters */ private createDefaultPlannerPlan; /** * Get source items * * @param config List content config * @param fields Fields */ private _getSourceItems; /** * Get source fields * * @param config Content config */ private _getSourceFields; /** * Process list items * * @param config Content config * @param batchChunkSize Batch chunk size (defaults to 25) */ private _processListItems; /** * Get file contents for the specified files. * * @param web Web * @param files Files to get content for */ private _getFileContents; /** * Create folder hierarchy * * @param config Content config * @param folders An array of folders to provision * @param progressText Progress text */ private _provisionFolderHierarchy; /** * Process files. * * @param config Content config */ private _processFiles; /** * Get item properties from the source items. This is used to create the destination items * with the properties specified in the config list. For the taxonomy fields, the text field * name for the term is also retrieved and added to the destination item. The term field is * storing internal names longer than 32 characters, which is not allowed for field names so * we need to substring the name to 32 characters. * * @param fields Fields * @param sourceItem Source item * @param sourceFields Source fields */ private _getProperties; } //# sourceMappingURL=index.d.ts.map