MOON
Server: Apache
System: Linux nserver.cafsindia.com 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: cafsindia (1002)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/cafsindia/snap.cafsinfotech.in/node_modules/@danieldietrich/copy/dist/index.d.ts
/// <reference types="node" />
import * as fs from 'fs';
declare function copy(sourcePath: string, targetPath: string, options?: copy.Options): Promise<copy.Totals>;
declare namespace copy {
    type Options = {
        overwrite?: boolean;
        errorOnExist?: boolean;
        dereference?: boolean;
        preserveTimestamps?: boolean;
        dryRun?: boolean;
        rename?: (source: Source, target: Target, options: Options) => string | void | Promise<string | void>;
        filter?: (source: Source, target: Target, options: Options) => boolean | Promise<boolean>;
        transform?: (data: Buffer, source: Source, target: Target, options: Options) => Buffer | Promise<Buffer>;
        afterEach?: (source: Source, target: Target, options: Options) => void | Promise<void>;
    };
    type Source = {
        path: string;
        stats: fs.Stats;
    };
    type Target = {
        path: string;
        stats?: fs.Stats;
    };
    type Totals = {
        directories: number;
        files: number;
        symlinks: number;
        size: number;
    };
}
export = copy;