declare function substring(S: string, inclusiveStart: number, exclusiveEnd?: number): string; export = substring;