2024-10-15 23:05:53 +03:00

10 lines
281 B
TypeScript

/**
* Checks if its a valid topic
*/
export declare const isTopic: (topic: string) => boolean;
/**
* Returns true if the topic is part of the given bloom.
* note: false positives are possible.
*/
export declare const isTopicInBloom: (bloom: string, topic: string) => boolean;