import type { GithubComment, GithubIssue } from './githubTypes'; /** * Check if label exists. * * @param label The label. * @returns True if label exists, false otherwise. */ export declare const checkIfLabelExists: (label: string) => Promise; /** * Create label. * * @param label The label. * @returns The status. */ export declare const createLabel: (label: string) => Promise; /** * Create issue. * * @param title The title. * @param body The body. * @param storyUrl The story URL. * @param storyId The story ID. * @returns The issue. */ export declare const createIssue: (title: string, body: string, storyUrl: string, storyId: string) => Promise; /** * Update Issue. * * @param issueNumber The issue number. * @returns The issue. */ export declare const finishIssue: (issueNumber: number) => Promise; /** * Get issues. * * @param storyId The story ID. * @returns The issues. */ export declare const getIssues: (storyId: string) => Promise; /** * Update Issue. * * @param issueNumber The issue number. * @returns The issue. */ export declare const setIssueOpen: (issueNumber: number) => Promise; /** * Get comments. * * @param commentUrl The comment URL. * @returns The comments. */ export declare const getComments: (commentUrl: string) => Promise; /** * Get comments. * * @param issueNumber The issue number. * @param comment The comment. * @returns The comments. */ export declare const createComment: (issueNumber: number, comment: string) => Promise; export interface TransformedIssue { avatar: string; body: string; commentNumber: number; comments: { avatar?: string; body: string; date?: Date; id: string; type?: 'error'; }[]; createdAt: Date; id: string; number: number; state: 'closed' | 'open'; title: string; updatedAt: Date; } /** * Transform issues. * * @param issues The issues. * @returns The transformed issues. */ export declare const transformIssues: (issues: GithubIssue[]) => Promise; /** * Format date. * * @param date The date. * @returns The formatted date. */ export declare const format: (date: Date) => string;