export declare function strchr(haystack: string, needle: string, bool?: boolean): string | false;