import { IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1GithubAuth } from "./GithubAuth.js"; import { ModelData, Model } from "@kubernetes-models/base"; export interface IGithubAccessTokenSpec { "appID": string; /** * Auth configures how ESO authenticates with a Github instance. */ "auth": IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1GithubAuth; "installID": string; /** * Map of permissions the token will have. If omitted, defaults to all permissions the GitHub App has. */ "permissions"?: { [key: string]: string; }; /** * List of repositories the token will have access to. If omitted, defaults to all repositories the GitHub App * is installed to. */ "repositories"?: Array; /** * URL configures the Github instance URL. Defaults to https://github.com/. */ "url"?: string; } export declare class GithubAccessTokenSpec extends Model implements IGithubAccessTokenSpec { "appID": string; "auth": IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1GithubAuth; "installID": string; "permissions"?: { [key: string]: string; }; "repositories"?: Array; "url"?: string; constructor(data?: ModelData); } export type { IGithubAccessTokenSpec as IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1GithubAccessTokenSpec, GithubAccessTokenSpec as ComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1GithubAccessTokenSpec };