/** * Return position for first pattern occurence. * @param {string} target * @param {string} pattern * @param {number} from * @return number */ export declare const indexOf: (target: string, pattern: string, from?: number) => number;