## API Report File for "@backstage/plugin-gitops-profiles"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts
/// <reference types="react" />

import { ApiRef } from '@backstage/core-plugin-api';
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { RouteRef } from '@backstage/core-plugin-api';

// Warning: (ae-missing-release-tag) "ApplyProfileRequest" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ApplyProfileRequest {
  // (undocumented)
  gitHubToken: string;
  // (undocumented)
  gitHubUser: string;
  // (undocumented)
  profiles: string[];
  // (undocumented)
  targetOrg: string;
  // (undocumented)
  targetRepo: string;
}

// Warning: (ae-missing-release-tag) "ChangeClusterStateRequest" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ChangeClusterStateRequest {
  // (undocumented)
  clusterState: 'present' | 'absent';
  // (undocumented)
  gitHubToken: string;
  // (undocumented)
  gitHubUser: string;
  // (undocumented)
  targetOrg: string;
  // (undocumented)
  targetRepo: string;
}

// Warning: (ae-missing-release-tag) "CloneFromTemplateRequest" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface CloneFromTemplateRequest {
  // (undocumented)
  gitHubToken: string;
  // (undocumented)
  gitHubUser: string;
  // (undocumented)
  secrets: {
    awsAccessKeyId: string;
    awsSecretAccessKey: string;
  };
  // (undocumented)
  targetOrg: string;
  // (undocumented)
  targetRepo: string;
  // (undocumented)
  templateRepository: string;
}

// Warning: (ae-missing-release-tag) "ClusterStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ClusterStatus {
  // (undocumented)
  conclusion: string;
  // (undocumented)
  link: string;
  // (undocumented)
  name: string;
  // (undocumented)
  runStatus: Status[];
  // (undocumented)
  status: string;
}

// Warning: (ae-missing-release-tag) "FetchError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export class FetchError extends Error {
  // (undocumented)
  static forResponse(resp: Response): Promise<FetchError>;
  // (undocumented)
  get name(): string;
}

// Warning: (ae-missing-release-tag) "GithubUserInfoRequest" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface GithubUserInfoRequest {
  // (undocumented)
  accessToken: string;
}

// Warning: (ae-missing-release-tag) "GithubUserInfoResponse" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface GithubUserInfoResponse {
  // (undocumented)
  login: string;
}

// Warning: (ae-missing-release-tag) "GitOpsApi" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type GitOpsApi = {
  url: string;
  fetchLog(req: PollLogRequest): Promise<StatusResponse>;
  changeClusterState(req: ChangeClusterStateRequest): Promise<any>;
  cloneClusterFromTemplate(req: CloneFromTemplateRequest): Promise<any>;
  applyProfiles(req: ApplyProfileRequest): Promise<any>;
  listClusters(req: ListClusterRequest): Promise<ListClusterStatusesResponse>;
  fetchUserInfo(req: GithubUserInfoRequest): Promise<GithubUserInfoResponse>;
};

// Warning: (ae-missing-release-tag) "gitOpsApiRef" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const gitOpsApiRef: ApiRef<GitOpsApi>;

// Warning: (ae-missing-release-tag) "GitopsProfilesClusterListPage" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const GitopsProfilesClusterListPage: () => JSX.Element;

// Warning: (ae-missing-release-tag) "GitopsProfilesClusterPage" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const GitopsProfilesClusterPage: () => JSX.Element;

// Warning: (ae-missing-release-tag) "GitopsProfilesCreatePage" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const GitopsProfilesCreatePage: () => JSX.Element;

// Warning: (ae-missing-release-tag) "gitopsProfilesPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
const gitopsProfilesPlugin: BackstagePlugin<
  {
    listPage: RouteRef<undefined>;
    detailsPage: RouteRef<{
      owner: string;
      repo: string;
    }>;
    createPage: RouteRef<undefined>;
  },
  {}
>;
export { gitopsProfilesPlugin };
export { gitopsProfilesPlugin as plugin };

// Warning: (ae-missing-release-tag) "GitOpsRestApi" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export class GitOpsRestApi implements GitOpsApi {
  constructor(url?: string);
  // (undocumented)
  applyProfiles(req: ApplyProfileRequest): Promise<any>;
  // (undocumented)
  changeClusterState(req: ChangeClusterStateRequest): Promise<any>;
  // (undocumented)
  cloneClusterFromTemplate(req: CloneFromTemplateRequest): Promise<any>;
  // (undocumented)
  fetchLog(req: PollLogRequest): Promise<StatusResponse>;
  // (undocumented)
  fetchUserInfo(req: GithubUserInfoRequest): Promise<GithubUserInfoResponse>;
  // (undocumented)
  listClusters(req: ListClusterRequest): Promise<ListClusterStatusesResponse>;
  // (undocumented)
  url: string;
}

// Warning: (ae-missing-release-tag) "ListClusterRequest" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ListClusterRequest {
  // (undocumented)
  gitHubToken: string;
  // (undocumented)
  gitHubUser: string;
}

// Warning: (ae-missing-release-tag) "ListClusterStatusesResponse" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ListClusterStatusesResponse {
  // (undocumented)
  result: ClusterStatus[];
}

// Warning: (ae-missing-release-tag) "PollLogRequest" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface PollLogRequest {
  // (undocumented)
  gitHubToken: string;
  // (undocumented)
  gitHubUser: string;
  // (undocumented)
  targetOrg: string;
  // (undocumented)
  targetRepo: string;
}

// Warning: (ae-missing-release-tag) "Status" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface Status {
  // (undocumented)
  conclusion: string;
  // (undocumented)
  message: string;
  // (undocumented)
  status: string;
}

// Warning: (ae-missing-release-tag) "StatusResponse" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface StatusResponse {
  // (undocumented)
  link: string;
  // (undocumented)
  result: Status[];
  // (undocumented)
  status: string;
}
```
