import { Config } from '@backstage/config'; /** * The configuration for a single Gitea integration. * * @public */ export type GiteaIntegrationConfig = { /** * The host of the target that this matches on, e.g. "gitea.website.com" */ host: string; /** * The optional base URL of the Gitea instance. It is assumed that https * is used and that the base path is "/" on the host. If that is not the * case set the complete base url to the gitea instance, e.g. * "https://gitea.website.com/". This is the url that you would open * in a browser. */ baseUrl?: string; /** * The username to use for requests to gitea. */ username?: string; /** * The password or http token to use for authentication. */ password?: string; }; /** * Parses a location config block for use in GiteaIntegration * * @public */ export declare function readGiteaConfig(config: Config): GiteaIntegrationConfig;