/**
 * Normalizes a filesystem path to POSIX separators so path matching works
 * the same on Windows and POSIX hosts.
 */
export declare const toPosix: (p: string) => string;
export declare const normalizePathForComparison: (p: string) => string;
/**
 * True when `candidate` is inside (or exactly equals) `root`, after normalizing
 * path separators for host-independent comparisons.
 */
export declare const isPathInsideOrEqual: (candidate: string, root: string) => boolean;
/**
 * Returns the basename of `filename` without its extension, or `null` when
 * the filename is unusable as a naming hint — empty, synthetic (`<input>`),
 * or `index.<ext>` (carries no useful signal).
 */
export declare const getFilenameStem: (filename: string | undefined) => string | null;
/**
 * True when `filename` is an `index.<ext>` file — a barrel / re-export module
 * that aggregates siblings rather than defining anything itself. Returns `false`
 * for empty or synthetic (`<input>`) filenames.
 */
export declare const isIndexFile: (filename: string | undefined) => boolean;
//# sourceMappingURL=filename.d.ts.map