/** * FilePath Value Object * Represents a file system path with operations */ import { Result } from '@garrick0/c2-shared'; export declare class FilePath { private readonly value; private readonly isAbsolutePath; private constructor(); /** * Create a FilePath from a string (can be relative or absolute) */ static create(path: string): Result; /** * Create a FilePath that must be absolute */ static createAbsolute(path: string): Result; isAbsolute(): boolean; isRelative(): boolean; join(other: string): FilePath; relativeTo(basePath: FilePath): Result; getBaseName(): string; getExtension(): string; hasExtension(ext: string): boolean; toString(): string; getValue(): string; equals(other: FilePath): boolean; } //# sourceMappingURL=FilePath.d.ts.map