import type { ABIExtra } from "@okcontract/coredata";
/**
 * middleMatch checks if the string matches a pattern containing a single '*'.
 * @param str
 * @param pattern must contain one '*'
 * @returns
 */
export declare const middleMatch: (str: string, pattern: string) => boolean;
/**
 * match a string with a pattern containing a single joker.
 * @param str
 * @param pattern
 * @returns
 */
export declare const match: (str: string, pattern: string) => boolean;
/**
 * hasOkayedMethods checks if an ABIExtra can have okayed methods.
 * Technically, an unmatched pattern could lead to no methods but we don't check this.
 * @param x
 * @returns
 */
export declare const hasOkayedMethods: (x: ABIExtra) => boolean;
