@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
14 lines • 679 B
TypeScript
import { type FixedRing, type ScalarEntry } from "../stream-utils.ts";
import type { DetectorMatch } from "../types.ts";
export declare const PERIOD_MIN = 2;
export declare const PERIOD_MAX = 64;
export declare const PERIOD_SPAN_MIN = 256;
export declare const PERIOD_REPS_MIN = 8;
export interface ShortPeriodState {
readonly matched: number[];
readonly blockStart: number[];
readonly unitChecked: boolean[];
}
export declare function createShortPeriodState(): ShortPeriodState;
export declare function updateShortPeriods(state: ShortPeriodState, entry: ScalarEntry, ring: FixedRing<ScalarEntry>): DetectorMatch | null;
//# sourceMappingURL=collapse-periods.d.ts.map