export declare function rfind(needle: string, haystack: string): number;