export interface ProjectNode { id: string; fullPath: string; avatarUrl: string; group: { id: string; name: string; avatarUrl: string; }; repository: { rootRef: string; }; } export interface GetProjectNodeResponse { projects: ProjectNode[]; } /** * Patterns that indicate an authentication failure (invalid / expired token). * Shared across UI packages so that VersionsSidebar and code-mode sagas stay in sync. */ export declare const GIT_AUTH_ERROR_PATTERNS: readonly string[]; /** * Patterns that indicate insufficient token permissions (not auth failure). * Shared across UI packages so that VersionsSidebar and code-mode sagas stay in sync. */ export declare const GIT_PERMISSION_ERROR_PATTERNS: readonly string[]; /** * Returns true if the error message matches any known git auth error pattern. */ export declare function isGitAuthErrorMessage(error: unknown): boolean; /** * Returns true if the error message matches any known git permission error pattern. */ export declare function isGitPermissionErrorMessage(error: unknown): boolean; //# sourceMappingURL=index.d.ts.map