export declare class KimiBugFilter {
    private state;
    private buffer;
    private readonly BUG_LIMIT;
    process(chunk: string): {
        output: string | null;
        sendEnter: boolean;
    };
    private processIdle;
    /** Compute how many raw bytes to retain because they may be a split START_MARKER prefix. */
    private splitKeepBytes;
    /** Flush any remaining buffered data. Called on PTY exit. */
    forceFlush(): string | null;
    private processInBug;
}
