2024-06-21 23:09:42 +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;