import type { Ignore } from "ignore"; /** * Convert a platform-native path to forward-slash form. * Issue #20: on Windows, `relative()` returns `src\server\foo.ts`. * We normalize to `src/server/foo.ts` once at storage time so all * downstream code (PageRank, search, audit, ignore patterns, * dependency-graph keys) works on a single canonical separator * regardless of platform. */ export declare function toForwardSlashes(p: string): string; export interface DiscoveredFile { absolutePath: string; relativePath: string; language: string; lastModified: number; sizeBytes: number; } export declare function discoverFiles(rootPath: string, ignoreFilter: Ignore): DiscoveredFile[];