export interface GiteaConfig {
    apiUrl: string;
    apiToken: string;
    username?: string;
}
export interface CreateIssueInput {
    repo: string;
    title: string;
    body: string;
    labels?: string[];
}
export declare function createIssue(cfg: GiteaConfig, input: CreateIssueInput): Promise<unknown>;
export declare function listIssues(cfg: GiteaConfig, repo: string, state?: string): Promise<unknown>;
export declare function closeIssue(cfg: GiteaConfig, repo: string, issueNumber: number): Promise<unknown>;
export declare function listRepos(cfg: GiteaConfig): Promise<unknown>;
export declare function listAllIssues(cfg: GiteaConfig, opts?: {
    repo?: string;
    state?: string;
}): Promise<unknown>;
export declare function readRepoFile(cfg: GiteaConfig, repo: string, filePath: string): Promise<unknown>;
