/** * `qodo-skills` path helpers — browser stub. * * The Node version reaches `node:fs` / `node:path` to canonicalise the * skill directory and re-canonicalise the requested file at the moment * of resolution (closes TOCTTOU symlink-swap windows). Neither API * exists in the browser, and skills discovery is itself Node-only (see * `manager.browser.ts` for the rationale). * * The stubs throw immediately so a browser consumer who somehow reaches * this code path — by configuring `ClientOptions.skills` in a browser * build — gets a typed `SkillPathError` instead of a cryptic * `Cannot read properties of undefined` deep in their bundler output. * * The matching swap is wired via `package.json#browser`. */ export declare class SkillPathError extends Error { readonly reason: 'null_byte' | 'absolute_path' | 'traversal' | 'symlink_escape' | 'not_found' | 'too_large' | 'invalid_path'; constructor(reason: SkillPathError['reason'], message: string); } export interface ResolvedSkillPath { readonly absolute: string; readonly relative: string; } export declare function validateRelativePath(_input: string): string; export declare function resolveSkillFilePath(_skillDir: string, _relInput: string): ResolvedSkillPath; //# sourceMappingURL=path.browser.d.ts.map