// Type definitions for ncp v0.5.1 // Project: https://github.com/AvianFlu/ncp // Definitions by: Bart van der Schoor // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// export function ncp(source: string, destination: string, callback: (err: Error) => void): void; export function ncp(source: string, destination: string, options: Options, callback: (err: Error) => void): void; interface Options { filter?: RegExp | ((filename: string) => boolean); transform?: (read: NodeJS.ReadableStream, write: NodeJS.WritableStream) => void; clobber?: boolean; stopOnErr?: boolean; errs?: NodeJS.WritableStream; }