UNPKG

@therealchristhomas/gitlab-mcp-server

Version:
13 lines (12 loc) 770 B
export declare class GitLabApiError extends Error { status?: number | undefined; details?: any | undefined; constructor(message: string, status?: number | undefined, details?: any | undefined); } export declare function gitlabGet<T>(endpoint: string, searchParams?: URLSearchParams): Promise<T>; export declare function gitlabPost<T>(endpoint: string, body?: object): Promise<T>; export declare function gitlabPut<T>(endpoint: string, body?: object): Promise<T>; export declare function gitlabDelete(endpoint: string): Promise<void>; export declare function encodeProjectId(projectId: string): string; export declare function encodeFilePath(filePath: string): string; export declare function buildSearchParams(options: Record<string, any>): URLSearchParams;