#!/usr/bin/env node import { FirebaseDocumentInfo } from "@p0tion/actions"; import { Firestore } from "firebase/firestore"; /** * Clean cursor lines from current position back to root (default: zero). * @param currentCursorPos - the current position of the cursor. * @returns */ export declare const cleanCursorPosBackToRoot: (currentCursorPos: number) => number; /** * Show the latest updates for the given circuit. * @param firestoreDatabase - the Firestore database to query from. * @param ceremony - the Firebase document containing info about the ceremony. * @param circuit - the Firebase document containing info about the circuit. * @returns Promise return the current position of the cursor (i.e., number of lines displayed). */ export declare const displayLatestCircuitUpdates: (firestoreDatabase: Firestore, ceremony: FirebaseDocumentInfo, circuit: FirebaseDocumentInfo) => Promise; /** * Observe command. */ declare const observe: () => Promise; export default observe;