interface EndsWith { (postfix: string, str: string): boolean; (postfix: string): (str: string) => boolean; } /** * Checks if a string ends with the provided postfix * * @param {string} postfix * @param {string} str * @return {Boolean} * @example * * endsWith('c', 'abc') //=> true * endsWith('b', 'abc') //=> false */ declare const _default: EndsWith; export default _default;