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<string, string>): void;
export declare function recursivelyGatherFiles(path: string, includeProjectFiles?: boolean): Promise<Record<string, string>>;
export declare function recursivelyGatherFilesFromEnvironment(environment: Environment, path: string, includeProjectFiles?: boolean): Promise<Record<string, string>>;
export declare const IGNORE_FILES: string[];
export declare function createIgnore(path: string, includeProjectFiles?: boolean): (filePath: string) => boolean;
export declare function cleanUpFiles(files: Record<string, string>, targetDir?: string): Record<string, string>;
export declare function cleanUpFileArray(files: Array<string>, targetDir?: string): string[];
