export interface SCMClient { request(method: string, path: string, body?: unknown, headers?: Record): Promise; requestJSON(method: string, path: string, body?: unknown, headers?: Record): Promise; } export declare class GitHubClient implements SCMClient { private readonly token; private readonly baseUrl; constructor(token: string, baseUrl: string); request(method: string, path: string, body?: unknown, headers?: Record): Promise; requestJSON(method: string, path: string, body?: unknown, headers?: Record): Promise; } export declare class GitLabClient implements SCMClient { private readonly token; private readonly baseUrl; constructor(token: string, baseUrl: string); request(method: string, path: string, body?: unknown, headers?: Record): Promise; requestJSON(method: string, path: string, body?: unknown, headers?: Record): Promise; } export declare class BitbucketClient implements SCMClient { private readonly token; private readonly baseUrl; constructor(token: string, baseUrl: string); request(method: string, path: string, body?: unknown, headers?: Record): Promise; requestJSON(method: string, path: string, body?: unknown, headers?: Record): Promise; } export declare function GitHubClientFromEvent(evt: { client?: unknown; }): GitHubClient | undefined; export declare function GitLabClientFromEvent(evt: { client?: unknown; }): GitLabClient | undefined; export declare function BitbucketClientFromEvent(evt: { client?: unknown; }): BitbucketClient | undefined; export declare function newProviderClient(provider: string, token: string, baseUrl: string): SCMClient; export declare function NewProviderClient(provider: string, token: string, baseUrl: string): SCMClient; //# sourceMappingURL=scm_clients.d.ts.map