import { PhrasifySettings } from './phrasify'; export type KebabCaseSettings = PhrasifySettings; /** * Transform phrase into a dashed phrase * (eg. 'camelCase' -> 'camel-case' or 'spaced phrase' -> 'spaced-phrase') * * @example * ```ts * dashed('some dashed phrase'); // -> some-dashed-phrase * dasher('dash version1 beta', { numbers: true }); // -> dash-version-1-beta * ``` * * @param str - String to transform * @param settings - Settings to pass to the phrasify function * @return - The string with spaces replaced by a dash (-) */ export default function dashed(str: string, settings?: KebabCaseSettings): string;