import { IJiraExtractorConfig } from './types'; import { JiraWorkItem } from './components/jira-work-item'; declare class JiraExtractor { config: IJiraExtractorConfig; constructor(config: IJiraExtractorConfig); testConnection(): Promise; getWorkflow(project: string): Promise<{ name: string; statuses: string[]; }[]>; afterExtract(workItems: Array): JiraWorkItem[]; extractAll(statusHook?: (n: number) => any, debug?: boolean): Promise; extract(opts: { startIndex?: number; batchSize?: number; }): Promise; toCSV(workItems: JiraWorkItem[], withHeader?: boolean): string; private getJQL(startIndex?, batchSize?); private buildQuery({startIndex, batchSize}); private checkIfValidJQL(); private getIssueCountFromJiraApi(); private getIssuesFromJiraApi({startIndex, batchSize}); private convertIssueToWorkItem; } export { JiraExtractor };