export declare const slug: (val: string, max?: number, duplicate?: number) => string;