/** Issue. */
export interface Issue {
    /** Issue title */
    title: string;
    /** Description in markdown */
    description?: string;
    /** Status */
    status?: string;
    /** Assigned user */
    assigneeId?: string;
    /** Issue's priority from 0-4, with 0 being the most important. Undefined for non-prioritized. */
    priority?: number;
    /** Issue's comments */
    comments?: Comment[];
    /** Issue's label IDs */
    labels?: string[];
    /** Link to original issue. */
    url?: string;
    /** When the issue was created. */
    createdAt?: Date;
    /** When the issue is due. This is a date string of the format yyyy-MM-dd. */
    dueDate?: Date;
    /** When the issue was completed. */
    completedAt?: Date;
    /** When the issue was started. */
    startedAt?: Date;
    /** Whether issue is archived */
    archived?: boolean;
    /** Issue estimate */
    estimate?: number;
}
/** Issue comment */
export interface Comment {
    /** Comment's body in markdown */
    body?: string;
    /** User who posted the comments */
    userId: string;
    /** When the comment was created. */
    createdAt?: Date;
}
export declare type IssueStatus = "backlog" | "unstarted" | "started" | "completed" | "canceled";
/** Import response. */
export interface ImportResult {
    issues: Issue[];
    statuses?: {
        [id: string]: {
            name: string;
            color?: string;
            type?: IssueStatus;
        };
    };
    users: {
        [id: string]: {
            name: string;
            email?: string;
            avatarUrl?: string;
        };
    };
    labels: {
        [id: string]: {
            name: string;
            color?: string;
            description?: string;
        };
    };
    resourceURLSuffix?: string;
}
/**
 * Generic importer interface.
 */
export interface Importer {
    name: string;
    defaultTeamName?: string;
    import(): Promise<ImportResult>;
}
export interface ImportAnswers {
    linearApiKey: string;
    service: string;
}
//# sourceMappingURL=types.d.ts.map