import type { Transaction } from '../types'; export declare const DISCARD_LIMIT = 1; export declare function discardVotesCast(transacting: Transaction, importBbid: string): Promise>; /** This function casts a discard vote. In case of it has already been cast, * it raises an error. If the vote is decisive one (and the record is deleted), * it returns a Promise that resolves to true, else it returns an promise that * resolves to false. * @param {Transaction} transacting - The knex Transacting object * @param {string} importBbid - BBID of the import * @param {number} editorId - Id of the user casting the vote * @returns {Promise} - Promise if records has been deleted or * Promise if the record is still present */ export declare function castDiscardVote(transacting: Transaction, importBbid: string, editorId: number): Promise;