import { AbstractAuthBridge, BaseProviderAPI, BaseProviderAPIBranch, BaseProviderAPICommitAction, BaseProviderAPITreeFile } from "@react-admin-git-provider/common"; export interface GitlabOptions { authBridge?: AbstractAuthBridge; host?: string; timeout?: number; version?: string; oauthToken?: string; isPrivateToken?: boolean; treePerPage?: number; } export declare function getGitlabUrl({ host, version }: GitlabOptions): string; export declare function getGitlabHeaders({ oauthToken, isPrivateToken, authBridge, }: GitlabOptions): { [x: string]: string; }; export declare class GitlabProviderAPI extends BaseProviderAPI { private readonly url; private readonly timeout?; private readonly treePerPage; private readonly options; constructor(options: GitlabOptions); tree(projectId: string, ref: string, path: string): Promise; showFile(projectId: string, ref: string, path: string): Promise<{ blobId: string; content: string; encoding: "base64"; filePath: string; } | undefined>; getFileInfo(projectId: string, ref: string, path: string): Promise<{ blobId: string; commitId: string; contentSha: string; size: number; } | undefined>; getRawFile(projectId: string, ref: string, path: string): Promise; commit(projectId: string, ref: string, message: string, actions: BaseProviderAPICommitAction[]): Promise; branch(projectId: string, ref: string): Promise; private _fetchTree; }