import { Predicate } from './Predicate.js'; /** * @desc Ensures that the `value` ends with a given suffix. * * @example * import { endsWith, ensure, TinyType } from 'tiny-types'; * * class TextFileName extends TinyType { * constructor(public readonly value: string) { * super(); * * ensure('TextFileName', value, endsWith('.txt')); * } * } * * @param {string} suffix * * @returns {Predicate} */ export declare function endsWith(suffix: string): Predicate; //# sourceMappingURL=endsWith.d.ts.map