import type { GitWorkspaceConfig, FolderEntry, ReadResult, VersionInfo, WriteQueryOptions } from "../types";
import { BaseGitProviderClient } from "./BaseGitProviderClient";
export declare class GiteaProviderClient extends BaseGitProviderClient {
    static canHandle(config: GitWorkspaceConfig): boolean;
    private request;
    validateAccess(config: GitWorkspaceConfig): Promise<void>;
    listFolder(config: GitWorkspaceConfig, folderId?: string): Promise<FolderEntry[]>;
    private readFileAtRef;
    readQuery(config: GitWorkspaceConfig, queryId: string): Promise<ReadResult>;
    writeQuery(config: GitWorkspaceConfig, queryId: string, queryText: string, options?: WriteQueryOptions): Promise<void>;
    listVersions(config: GitWorkspaceConfig, queryId: string): Promise<VersionInfo[]>;
    readVersion(config: GitWorkspaceConfig, queryId: string, versionId: string): Promise<ReadResult>;
    deleteQuery(config: GitWorkspaceConfig, queryId: string): Promise<void>;
}
