UNPKG

@multiformats/multiaddr-matcher

Version:
12 lines 658 B
import type { Matcher, MultiaddrMatcher } from './index.js'; export declare const func: (fn: (val: string) => boolean) => Matcher; export declare const literal: (str: string) => Matcher; export declare const string: () => Matcher; export declare const number: () => Matcher; export declare const peerId: () => Matcher; export declare const certhash: () => Matcher; export declare const optional: (matcher: Matcher) => Matcher; export declare const or: (...matchers: Matcher[]) => Matcher; export declare const and: (...matchers: Matcher[]) => Matcher; export declare function fmt(...matchers: Matcher[]): MultiaddrMatcher; //# sourceMappingURL=utils.d.ts.map