import { Bit } from '@o/kit';
import { WorkerUtilsInstance } from '@o/worker-kit';
import { GmailBitDataParticipant, GMailThread } from './GMailModels';
/**
 * Creates bits out of gmail models.
 */
export declare class GMailBitFactory {
    private utils;
    constructor(utils: WorkerUtilsInstance);
    /**
     * Creates a new bit from a given GMail thread.
     */
    createMailBit(thread: GMailThread): Bit | undefined;
    /**
     * Creates a new person from a given GMail thread participant.
     */
    createPersonBit(participant: GmailBitDataParticipant): Bit;
}
