import type { FileError, Result } from "../../types.ts";
import { SessionError } from "../types.ts";
export declare function fileResult<T>(result: Result<T, FileError>, message: string): T;
export declare function invalidFile(path: string, line: number, message: string, cause?: Error): SessionError;
//# sourceMappingURL=errors.d.ts.map