import { RestEndpointMethodTypes } from '@octokit/rest'; /** @public */ export declare const githubActionsApiRef: import("@backstage/core-plugin-api").ApiRef; /** * A client for fetching information about GitHub actions. * * @public */ export type GithubActionsApi = { listWorkflowRuns: (options: { hostname?: string; owner: string; repo: string; pageSize?: number; page?: number; branch?: string; }) => Promise; getWorkflow: (options: { hostname?: string; owner: string; repo: string; id: number; }) => Promise; getWorkflowRun: (options: { hostname?: string; owner: string; repo: string; id: number; }) => Promise; reRunWorkflow: (options: { hostname?: string; owner: string; repo: string; runId: number; }) => Promise; listJobsForWorkflowRun: (options: { hostname?: string; owner: string; repo: string; id: number; pageSize?: number; page?: number; }) => Promise; downloadJobLogsForWorkflowRun: (options: { hostname?: string; owner: string; repo: string; runId: number; }) => Promise; listBranches: (options: { hostname?: string; owner: string; repo: string; page: number; }) => Promise; getDefaultBranch: (options: { hostname?: string; owner: string; repo: string; }) => Promise; };