import type { PathSegmentString } from '../object/index.js'; import type { CodeLocation } from './CodeLocation.js'; /** @internal */ export type _hack_parseCodeLocation = PathSegmentString; export declare function getShortStackTracePath(path: string): string; export interface DecomposeStackTracePathResult { path: string; shortPath: string; fileName: PathSegmentString<{ separator: '/'; }>; } export declare function decomposeStackTracePath(path: string): DecomposeStackTracePathResult; export declare function tryParseCodeLocationWithLineAndColumn(locationStr: string): (CodeLocation & { line: number; column: number; }) | undefined; export declare function tryParseCodeLocationWithLine(locationStr: string): (CodeLocation & { line: number; }) | undefined; export declare function tryParseCodeLocation(locationStr: string): CodeLocation | undefined; //# sourceMappingURL=parseCodeLocation.d.ts.map