import type { Replacer } from "./types.js"; /** * A utility function to format the file content output in a standardized way. * It handles markdown code blocks and optional prefixes. */ export declare function useFileOrInject(mode: string, filepath: string, filecontent: string, opts?: { ext?: unknown; lang?: unknown; prefix?: unknown; filepath?: unknown; }): string; /** * Core logic for globbing files with query-like parameters. * This is the unified engine for both gen-prompt and frontend previews. * @param patternWithParams - A single pattern string, e.g., "src?ignore=*.test.ts" * @param baseDir - The current working directory. * @returns An array of matched file paths. */ export declare function globFilesWithParams(patternWithParams: string, baseDir: string, _params?: Record): string[]; /** * Handles replacements for file-based sources like local file system, URLs, and internal jixo protocol. */ export declare const handleFileReplacement: Replacer; /** * local file system paths * @param options * @returns */ export declare const localFileReplacement: Replacer; //# sourceMappingURL=file-replacer.d.ts.map