UNPKG

872 BTypeScriptView Raw
1import { BuildContext, ChangedFile, TaskInfo } from './util/interfaces';
2import { Watcher } from './watch';
3export declare function copy(context: BuildContext, configFile?: string): Promise<void>;
4export declare function copyWorker(context: BuildContext, configFile: string): Promise<void[]>;
5export declare function copyUpdate(changedFiles: ChangedFile[], context: BuildContext): Promise<void>;
6export declare function copyConfigToWatchConfig(context: BuildContext): Watcher;
7export interface CopySrcToDestResult {
8 success: boolean;
9 src: string;
10 dest: string;
11 errorMessage: string;
12}
13export declare const taskInfo: TaskInfo;
14export interface CopyConfig {
15 [index: string]: CopyOptions;
16}
17export interface CopyToFrom {
18 absoluteSourcePath: string;
19 absoluteDestPath: string;
20}
21export interface CopyOptions {
22 src: string[];
23 dest: string;
24}