import { Octokit } from '@octokit/rest'; import type { GitProvider } from '@tinacms/datalayer'; type OctokitOptions = ConstructorParameters[0]; export interface GitHubProviderOptions { owner: string; repo: string; token: string; branch: string; commitMessage?: string; rootPath?: string; octokitOptions?: OctokitOptions; } export declare class GitHubProvider implements GitProvider { octokit: Octokit; owner: string; repo: string; branch: string; rootPath?: string; commitMessage?: string; constructor(args: GitHubProviderOptions); onPut(key: string, value: string): Promise; onDelete(key: string): Promise; } export {};