export declare const MATCH: unique symbol;
export declare type Token = Uint8Array | typeof MATCH;
export declare class StreamSearch {
    private _needle;
    private _lastChar;
    private _occ;
    private _lookbehind;
    constructor(needle: Uint8Array | string);
    feed(chunk: Uint8Array): Token[];
    end(): Uint8Array;
    private _feed;
    private _charAt;
    private _memcmp;
}
