declare function pad(str: string, len: number, chars?: string): string; export = pad;