import { Source } from './index'; /** Starting at fromIndex (defaults to 0), read until we find `needle`. 1. If we do find needle, return the file's position of the first character of `needle`. 2. If we reach EOF without finding it, return undefined. */ export declare function indexOf(source: Source, searchValue: string, fromIndex?: number, BLOCK_SIZE?: number): number; /** Starting at fromIndex (defaults to EOF), read backwards until we find `needle`. 1. If we do find needle, return the file's position of the first character of `needle`. 2. If we reach the beginning of the file before finding it, return undefined. */ export declare function lastIndexOf(source: Source, searchValue: string, fromIndex?: number, BLOCK_SIZE?: number): number;