import { Predicate } from './schemas/predicate';
import { ChainhookNodeOptions, EventObserverOptions, EventObserverPredicate } from '.';
/**
 * Looks on disk and returns a map of registered Predicates, where the key is the predicate `name`
 * as defined by the user.
 */
export declare function recallPersistedPredicatesFromDisk(basePath: string): Map<string, Predicate>;
export declare function savePredicateToDisk(basePath: string, predicate: Predicate): void;
/** Registers predicates with the Chainhook server when our event observer is booting up */
export declare function registerAllPredicatesOnObserverReady(predicates: EventObserverPredicate[], observer: EventObserverOptions, chainhook: ChainhookNodeOptions): Promise<void>;
/** Removes predicates from the Chainhook server when our event observer is being closed */
export declare function removeAllPredicatesOnObserverClose(observer: EventObserverOptions, chainhook: ChainhookNodeOptions): Promise<void>;
export declare function predicateHealthCheck(observer: EventObserverOptions, chainhook: ChainhookNodeOptions): Promise<void>;
