export declare function extract(input: string, targetPath: string): Promise;