declare module "vinyl" { import { type Stats } from "fs"; import type Stream from "stream"; export type Contents = Stream | Buffer | null; export interface Options { contents?: C; cwd?: string; base?: string; path?: string; stat?: Stats; history?: string[]; } export class File { contents: C; cwd: string; base: string; relative: string; dirname: string; basename: string; stem: string; extname: string; path: string; symlink: string; stat: Stats; history: string[]; constructor(options?: Options); isBuffer(): boolean; isStream(): boolean; isNull(): boolean; isDirectory(): boolean; isSymbolic(): boolean; clone(options?: Options); static isCustomProp(key: string): boolean; static isVinyl(file: File | any): boolean; } export type StreamFile = File; export type BufferFile = File; export default File; }