import type { Environment } from './types.js'; export declare function readFileHelper(path: string): string; export declare function isBinaryFile(path: string): boolean; export declare function convertBinaryContentsToBase64(contents: any): string; export declare function isBase64(content: string): boolean; export declare function getBinaryFile(content: string): string | null; /** * Returns a path without leading ./ or / prefix. */ export declare function toCleanPath(absolutePath: string, baseDir: string): string; export declare function relativePath(from: string, to: string, stripExtension?: boolean): string; export declare function isDirectory(path: string): boolean; export declare function isDemoFilePath(path?: string): boolean; export declare function findFilesRecursively(path: string, files: Record): void; export declare function recursivelyGatherFiles(path: string, includeProjectFiles?: boolean): Promise>; export declare function recursivelyGatherFilesFromEnvironment(environment: Environment, path: string, includeProjectFiles?: boolean): Promise>; export declare const IGNORE_FILES: string[]; export declare function createIgnore(path: string, includeProjectFiles?: boolean): (filePath: string) => boolean; export declare function cleanUpFiles(files: Record, targetDir?: string): Record; export declare function cleanUpFileArray(files: Array, targetDir?: string): string[];